1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-01 12:29:54 +00:00
janet/test/install/test.janet

12 lines
192 B
Clojure
Raw Normal View History

(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!")