From e1b0b17fc612ef4018b646ef051b2c8f93c2bc8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Reuh=20Fildadut?= Date: Sun, 4 Apr 2021 20:33:15 +0200 Subject: [PATCH] Remove temporary test script --- test.ans | 6 ------ test/run.lua | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 test.ans diff --git a/test.ans b/test.ans deleted file mode 100644 index 217d1b5..0000000 --- a/test.ans +++ /dev/null @@ -1,6 +0,0 @@ -$ f(a, b) - -$ f(x) - kk {x+1} - -~ f(6) \ No newline at end of file diff --git a/test/run.lua b/test/run.lua index d683df5..e345d68 100644 --- a/test/run.lua +++ b/test/run.lua @@ -64,9 +64,9 @@ table.sort(files) -- test script if args.script then local vm = anselme() - local state, err = vm:loadfile("test.ans", "test") + local state, err = vm:loadfile(args.script, "script") if state then - local istate, e = vm:run("test") + local istate, e = vm:run("script") if not istate then print("error", e) else