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)
|
(import ./helper :prefix "" :exit true)
|
||||||
(start-suite 15)
|
(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")
|
"no symbolslots when *debug* is false")
|
||||||
|
|
||||||
(setdyn *debug* true)
|
(setdyn *debug* true)
|
||||||
@ -13,7 +12,6 @@
|
|||||||
"symbolslots when *debug* is true")
|
"symbolslots when *debug* is true")
|
||||||
(setdyn *debug* false)
|
(setdyn *debug* false)
|
||||||
|
|
||||||
|
|
||||||
# need to fix assembling functions
|
# need to fix assembling functions
|
||||||
(comment
|
(comment
|
||||||
(setdyn *debug* true)
|
(setdyn *debug* true)
|
||||||
|
Loading…
Reference in New Issue
Block a user