summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2016-01-18 15:03:43 +0800
committerruki <[email protected]>2016-02-15 19:10:24 +0800
commit44c7d62676ce6763d013db0c031e6f651237f510 (patch)
tree2b1d33176f088d05c3931d28cfe7d325cef72d41 /tests
parent0ad84316db1fee3d4010b31d12353eddf430eddc (diff)
rename sandbox to interpreter
Diffstat (limited to 'tests')
-rw-r--r--tests/interpreter/scope.lua (renamed from tests/sandbox/scope.lua)0
-rw-r--r--tests/interpreter/tests.lua (renamed from tests/sandbox/tests.lua)4
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/sandbox/scope.lua b/tests/interpreter/scope.lua
index 438470d5c..438470d5c 100644
--- a/tests/sandbox/scope.lua
+++ b/tests/interpreter/scope.lua
diff --git a/tests/sandbox/tests.lua b/tests/interpreter/tests.lua
index 860df4cee..d389f5345 100644
--- a/tests/sandbox/tests.lua
+++ b/tests/interpreter/tests.lua
@@ -24,7 +24,7 @@
local tests = tests or {}
-- load modules
-local sandbox = require("sandbox/sandbox")
+local interpreter = require("base/interpreter")
-- the main function
function tests.main(self, file)
@@ -33,7 +33,7 @@ function tests.main(self, file)
assert(file and #file == 1)
-- load it
- local ok, errors = sandbox.load(file[1])
+ local ok, errors = interpreter.load(file[1])
if not ok then
print(errors)
return false