git » go-net » commit fac978c

route: fix typos in test

author Mikio Hara
2016-05-17 20:21:40 UTC
committer Mikio Hara
2016-05-18 03:10:18 UTC
parent ef00b378c73f107bf44d5c9b69875255ce89b79a

route: fix typos in test

Change-Id: Id0558e3ee71b393e0366c1ae5e022d657fec08f0
Reviewed-on: https://go-review.googlesource.com/23191
Reviewed-by: Ian Lance Taylor <iant@golang.org>

route/message_freebsd_test.go +2 -2

diff --git a/route/message_freebsd_test.go b/route/message_freebsd_test.go
index 6d03d00..785c273 100644
--- a/route/message_freebsd_test.go
+++ b/route/message_freebsd_test.go
@@ -32,11 +32,11 @@ func TestFetchAndParseRIBOnFreeBSD(t *testing.T) {
 
 func TestFetchAndParseRIBOnFreeBSD10AndAbove(t *testing.T) {
 	if _, err := FetchRIB(sysAF_UNSPEC, sysNET_RT_IFLISTL, 0); err != nil {
-		t.Skip("NET_RT_LISTL not supported")
+		t.Skip("NET_RT_IFLISTL not supported")
 	}
 	var p uintptr
 	if kernelAlign != int(unsafe.Sizeof(p)) {
-		t.Skip("NET_RT_LIST vs. NET_RT_LISTL doesn't work for 386 emulation on amd64")
+		t.Skip("NET_RT_IFLIST vs. NET_RT_IFLISTL doesn't work for 386 emulation on amd64")
 	}
 
 	var tests = [2]struct {