Merge pull request #11 from QuLogic/format-errors

Fix errors in test failure messages.
This commit is contained in:
Charlie Monzillo 2018-06-04 16:09:17 -04:00 committed by GitHub
commit c86eb07cb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.Error("This message should have failed to authenticate, but it passed")
}
}

View File

@ -172,7 +172,7 @@ func TestNTLMv2WithDomain(t *testing.T) {
err := server.ProcessAuthenticateMessage(a)
if err != nil {
t.Error("Could not process authenticate message: %s\n", err)
t.Errorf("Could not process authenticate message: %s\n", err)
}
}