Skip to content

Commit 4ad27ae

Browse files
committed
kallsyms: extend test
Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
1 parent 55302a5 commit 4ad27ae

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

internal/kallsyms/kallsyms_test.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,5 @@ func TestKernelModule(t *testing.T) {
3535
t.Errorf("expected %q got %q", "", kmod)
3636
}
3737

38-
// not present
39-
kmod = kmods["asdfasdf"]
40-
if kmod != "" {
41-
t.Errorf("expected %q got %q", "", kmod)
42-
}
38+
qt.Assert(t, qt.Equals(kmods["nft_counter_seq"], ""))
4339
}

0 commit comments

Comments
 (0)