Commit cb96e72d authored by Mikio Hara's avatar Mikio Hara

go.net/internal/icmp: fix reordered arguments in test case

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/146210043
parent 8916b1d9
......@@ -67,7 +67,7 @@ var marshalAndParseMessageForIPv6Tests = []icmp.Message{
}
func TestMarshalAndParseMessageForIPv6(t *testing.T) {
pshicmp := icmp.IPv6PseudoHeader(net.ParseIP("ff02::1"), net.ParseIP("fe80::1"))
pshicmp := icmp.IPv6PseudoHeader(net.ParseIP("fe80::1"), net.ParseIP("ff02::1"))
for _, tt := range marshalAndParseMessageForIPv6Tests {
for _, psh := range [][]byte{pshicmp, nil} {
b, err := tt.Marshal(psh)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment