mirror of
https://github.com/janet-lang/janet
synced 2024-12-01 04:19:55 +00:00
updated symbolslots-test
This commit is contained in:
parent
ce31db09e4
commit
b685bf3026
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user