mirror of
				https://github.com/golang/go.git
				synced 2025-10-31 08:40:55 +00:00 
			
		
		
		
	net: fix nits found by vet
Change-Id: I323231f31c4e1e7415661ebd943a90b2f1e9da1c Reviewed-on: https://go-review.googlesource.com/23020 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
		
							parent
							
								
									d1981ac313
								
							
						
					
					
						commit
						c1e8892060
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -582,11 +582,11 @@ func TestIgnoreLameReferrals(t *testing.T) { | |||
| 	} | ||||
| 
 | ||||
| 	if got := len(addrs); got != 1 { | ||||
| 		t.Fatal("got %d addresses, want 1", got) | ||||
| 		t.Fatalf("got %d addresses, want 1", got) | ||||
| 	} | ||||
| 
 | ||||
| 	if got, want := addrs[0].String(), "192.0.2.1"; got != want { | ||||
| 		t.Fatal("got address %v, want %v", got, want) | ||||
| 		t.Fatalf("got address %v, want %v", got, want) | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
|  | @ -721,6 +721,6 @@ func TestIgnoreDNSForgeries(t *testing.T) { | |||
| 	} | ||||
| 
 | ||||
| 	if got := resp.answer[0].(*dnsRR_A).A; got != TestAddr { | ||||
| 		t.Error("got address %v, want %v", got, TestAddr) | ||||
| 		t.Errorf("got address %v, want %v", got, TestAddr) | ||||
| 	} | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Mikio Hara
						Mikio Hara