1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 11:09:54 +00:00

updated symbolslots-test

This commit is contained in:
Jona Ekenberg 2023-02-01 11:46:36 +01:00
parent ce31db09e4
commit b685bf3026

View File

@ -3,8 +3,7 @@
(import ./helper :prefix "" :exit true)
(start-suite 15)
(assert (deep= (in (disasm (defn a [] (def x 10) x)) :symbolslots)
@[])
(assert (deep= (in (disasm (defn a [] (def x 10) x)) :symbolslots) nil)
"no symbolslots when *debug* is false")
(setdyn *debug* true)
@ -13,7 +12,6 @@
"symbolslots when *debug* is true")
(setdyn *debug* false)
# need to fix assembling functions
(comment
(setdyn *debug* true)