Remove dead code

This commit is contained in:
Michael Steinert
2015-12-04 09:21:38 -06:00
parent 4314ed7dcc
commit 7f5fc62ba4
2 changed files with 10 additions and 23 deletions

View File

@@ -12,8 +12,9 @@ func TestPAM_001(t *testing.T) {
if u.Uid != "0" {
t.Skip("run this test as root")
}
p := "secret"
tx, err := StartFunc("", "test", func(s Style, msg string) (string, error) {
return "secret", nil
return p, nil
})
if err != nil {
t.Fatalf("start #error: %v", err)