ntlm: fix two test print format bugs

Go 1.10 now catches mistakes like these as part of "go test".
These were making "go test" fail.
This commit is contained in:
Russ Cox
2018-05-24 23:03:47 -04:00
parent 7b9c9198d5
commit 63466d3e78
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ func TestNtlmV1ExtendedSessionSecurity(t *testing.T) {
context.SetServerChallenge(c.ServerChallenge)
err = context.ProcessAuthenticateMessage(msg)
if err == nil {
t.Errorf("This message should have failed to authenticate, but it passed", err)
t.Errorf("This message should have failed to authenticate, but it passed")
}
}