Browse Source

route: fix typos in test

Change-Id: Id0558e3ee71b393e0366c1ae5e022d657fec08f0
Reviewed-on: https://go-review.googlesource.com/23191
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Mikio Hara 9 years ago
parent
commit
fac978cc75
1 changed files with 2 additions and 2 deletions
  1. 2 2
      route/message_freebsd_test.go

+ 2 - 2
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 {