Merge pull request #11 from QuLogic/format-errors

Fix errors in test failure messages.
This commit is contained in:
Charlie Monzillo authored and GitHub committed 2018-06-04 16:09:17 -04:00
commit c86eb07cb1
2 files changed
+2 -2

No files matched your search

+1 -1
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")
}
}
+1 -1
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)
}
}