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:
		
							parent
							
								
									7b9c9198d5
								
							
						
					
					
						commit
						63466d3e78
					
				| @ -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") | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -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) | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user