summaryrefslogtreecommitdiff
path: root/tests/test-suite/nextvar.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-21 22:48:29 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-22 00:50:30 +1000
commit50323a75a96cfa095c1f968dd001b0f7107a722b (patch)
tree483be766d1dcba496b7aa205da8c972fc02c53fd /tests/test-suite/nextvar.js
parentcc3e3c93585d81304954131a9a3982f0786426b7 (diff)
downloadfengari-50323a75a96cfa095c1f968dd001b0f7107a722b.tar.gz
fengari-50323a75a96cfa095c1f968dd001b0f7107a722b.tar.bz2
fengari-50323a75a96cfa095c1f968dd001b0f7107a722b.zip
src/lbaselib.js: Implement argument checking in collectgarbage
Diffstat (limited to 'tests/test-suite/nextvar.js')
-rw-r--r--tests/test-suite/nextvar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-suite/nextvar.js b/tests/test-suite/nextvar.js
index 6cf7c74..d119d97 100644
--- a/tests/test-suite/nextvar.js
+++ b/tests/test-suite/nextvar.js
@@ -658,7 +658,7 @@ test("[test-suite] nextvar: erasing values", function (t) {
n = n+1
assert(t[k] == v)
t[k] = nil
- collectgarbage()
+ --collectgarbage()
assert(t[k] == nil)
end
assert(n == 5)