Fix golint warnings

This commit is contained in:
Michael Steinert
2015-04-10 15:04:52 -05:00
parent b60415a968
commit 61a0e177d2
2 changed files with 102 additions and 46 deletions

View File

@@ -164,7 +164,7 @@ func TestPAM_007(t *testing.T) {
}
err = tx.Authenticate(0)
if err == nil {
t.Fatalf("authenticate #expected an error", err)
t.Fatalf("authenticate #expected an error")
}
s := err.Error()
if len(s) == 0 {