diff options
Diffstat (limited to 'src/net/interface_unix_test.go')
| -rw-r--r-- | src/net/interface_unix_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/interface_unix_test.go b/src/net/interface_unix_test.go index 20e75cd036..6a2b7f1a88 100644 --- a/src/net/interface_unix_test.go +++ b/src/net/interface_unix_test.go @@ -186,7 +186,7 @@ func TestInterfaceArrivalAndDepartureZoneCache(t *testing.T) { } // Ensure zoneCache is filled: - _, _ = Listen("tcp", "[fe80::1%nonexistant]:0") + _, _ = Listen("tcp", "[fe80::1%nonexistent]:0") ti := &testInterface{local: "fe80::1"} if err := ti.setLinkLocal(0); err != nil { @@ -200,7 +200,7 @@ func TestInterfaceArrivalAndDepartureZoneCache(t *testing.T) { time.Sleep(3 * time.Millisecond) // If Listen fails (on Linux with “bind: invalid argument”), zoneCache was - // not updated when encountering a nonexistant interface: + // not updated when encountering a nonexistent interface: ln, err := Listen("tcp", "[fe80::1%"+ti.name+"]:0") if err != nil { t.Fatal(err) |
