Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

Commit 6957ef6

Browse files
committed
test: which - support lib prefix
1 parent 1dab456 commit 6957ef6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/which/which_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func TestExact(t *testing.T) {
3333
}
3434

3535
mem.Print()
36-
mem.MustHave(t, ".sqlpkg/nalgeon/version/version0.dylib")
36+
mem.MustHave(t, ".sqlpkg/nalgeon/version/version0")
3737
mem.MustNotHave(t, "exact match not found")
3838
})
3939
t.Run("prefix", func(t *testing.T) {
@@ -45,7 +45,7 @@ func TestExact(t *testing.T) {
4545
}
4646

4747
mem.Print()
48-
mem.MustHave(t, ".sqlpkg/nalgeon/prefix/libprefix.dylib")
48+
mem.MustHave(t, ".sqlpkg/nalgeon/prefix/libprefix")
4949
mem.MustNotHave(t, "exact match not found")
5050
})
5151

0 commit comments

Comments
 (0)