Skip to content

Commit b7c69d2

Browse files
committed
Fix incorrect test case
1 parent dd74df3 commit b7c69d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fou_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build linux
12
// +build linux
23

34
package netlink
@@ -42,7 +43,7 @@ func TestFouDeserializeMsg(t *testing.T) {
4243
}
4344

4445
// deserialize truncated attribute header
45-
msg = []byte{3, 1, 0, 0, 5, 0, 2, 0, 2, 0, 0}
46+
msg = []byte{3, 1, 0, 0, 5, 0, 2, 0, 2, 0}
4647
if _, err := deserializeFouMsg(msg); err == nil {
4748
t.Error("expected attribute body truncated error")
4849
} else if err != ErrAttrBodyTruncated {

0 commit comments

Comments
 (0)