Skip to content

Commit b972dab

Browse files
committed
extend tests
Signed-off-by: Florian Lehner <dev@der-flo.net>
1 parent f3c7480 commit b972dab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stab_test.go

+6
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,10 @@ func TestStab(t *testing.T) {
4040
t.Fatalf("unexpected error: %v", err)
4141
}
4242
})
43+
t.Run("unmarshalStab()", func(t *testing.T) {
44+
err := unmarshalStab([]byte{0x0}, nil)
45+
if err == nil {
46+
t.Fatalf("expected error but got none")
47+
}
48+
})
4349
}

0 commit comments

Comments
 (0)