diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2020-03-03 22:45:56 -0500 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2020-03-03 22:45:56 -0500 |
commit | eb1b0fe50d4618078bfbddd417cf71e061483263 (patch) | |
tree | fc1e744e7a36cb7036c2ab1614dde750e8d8a156 /core/args.lua | |
parent | fceb1a37df623649d191c3c1a881e5b0538b1391 (diff) |
Move test.lua into test folder.
Diffstat (limited to 'core/args.lua')
-rw-r--r-- | core/args.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/args.lua b/core/args.lua index dc2af94d..83c15917 100644 --- a/core/args.lua +++ b/core/args.lua @@ -128,7 +128,7 @@ M.register('-t', '--test', 1, function(patterns) local arg = {} for patt in (patterns or ''):gmatch('[^,]+') do arg[#arg + 1] = patt end local env = setmetatable({arg = arg}, {__index = _G}) - assert(loadfile(_HOME..'/test.lua', 't', env))() + assert(loadfile(_HOME..'/test/test.lua', 't', env))() end) end, 'Runs unit tests indicated by comma-separated list of patterns (or all)') |