Skip to content

Commit 2a8fbf5

Browse files
rwtolbertbakpakin
authored andcommitted
one more tweak to fix the tests on Windows
1 parent e40a878 commit 2a8fbf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/suite-pm-pre-post.janet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
(def bin-with-main (path/join binpath (string "bin-with-main")))
126126
(def bin-out (sh/exec-slurp-all (string bin-with-main bat)))
127127
(dump-out bin-out)
128-
(assert (string/find (dyn *syspath*) (bin-out :out)))
128+
(assert (string/find (path/basename (dyn *syspath*)) (bin-out :out)))
129129

130130
# check "test"
131131
(divider "Running janet-pm test")

0 commit comments

Comments
 (0)