diff options
| author | Ondřej Surý <ondrej@sury.org> | 2011-07-08 09:16:22 +0200 | 
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2011-07-08 09:52:32 +0200 | 
| commit | 85cafef129c3826b0c5e290c89cfc7251fba43d5 (patch) | |
| tree | e59b124753eb1eec194ec682a7815c401388f10d /src/pkg/net/hosts_test.go | |
| parent | 67c487c4bd0fc91c2ce5972886d108e0d2939064 (diff) | |
| download | golang-85cafef129c3826b0c5e290c89cfc7251fba43d5.tar.gz | |
Imported Upstream version 2011.07.07
Diffstat (limited to 'src/pkg/net/hosts_test.go')
| -rw-r--r-- | src/pkg/net/hosts_test.go | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/pkg/net/hosts_test.go b/src/pkg/net/hosts_test.go index e5793eef2..1bd00541c 100644 --- a/src/pkg/net/hosts_test.go +++ b/src/pkg/net/hosts_test.go @@ -59,7 +59,7 @@ func TestLookupHost(t *testing.T) {  	// duplicate addresses (a common bug due to the way  	// getaddrinfo works).  	addrs, _ := LookupHost("localhost") -	sort.SortStrings(addrs) +	sort.Strings(addrs)  	for i := 0; i+1 < len(addrs); i++ {  		if addrs[i] == addrs[i+1] {  			t.Fatalf("LookupHost(\"localhost\") = %v, has duplicate addresses", addrs) | 
