mirror of
https://github.com/janet-lang/janet
synced 2025-12-05 08:08:07 +00:00
Add regression test for #78
This commit is contained in:
11
test/install/build.janet
Normal file
11
test/install/build.janet
Normal file
@@ -0,0 +1,11 @@
|
||||
(import cook)
|
||||
|
||||
(cook/make-native
|
||||
:name "testmod"
|
||||
:source @["testmod.c"])
|
||||
|
||||
(import build/testmod :as testmod)
|
||||
|
||||
(if (not= 5 (testmod/get5)) (error "testmod/get5 failed"))
|
||||
|
||||
(print "OK!")
|
||||
Reference in New Issue
Block a user