Skip to content

Commit

Permalink
Renamed test suite file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFreezed committed May 16, 2021
1 parent 3f5cea8 commit dacade8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions preprocess.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2578,7 +2578,7 @@ local function _processFileOrString(params, isFile)

local main_chunk, err = loadLuaString(luaMeta, "@"..metaPathForErrorMessages, metaEnv)
if not main_chunk then
local ln, _err = err:match'^.-:(%d+): (.*)'
local ln, _err = err:match"^.-:(%d+): (.*)"
errorOnLine(metaPathForErrorMessages, (tonumber(ln) or 0), nil, "%s", (_err or err))
end

Expand Down Expand Up @@ -2631,7 +2631,7 @@ local function _processFileOrString(params, isFile)
local chunk, err = loadLuaString(luaToCheck, "@"..pathOut)

if not chunk then
local ln, _err = err:match'^.-:(%d+): (.*)'
local ln, _err = err:match"^.-:(%d+): (.*)"
errorOnLine(pathOut, (tonumber(ln) or 0), nil, "%s", (_err or err))
end
end
Expand Down
2 changes: 1 addition & 1 deletion tests/runTests.cmd → tests/runTestSuite.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ CD /D "%~dp0.."

IF NOT EXIST local MD local

lua tests/runTests.lua
lua tests/suite.lua
2 changes: 1 addition & 1 deletion tests/runTests.lua → tests/suite.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--==============================================================
--= Tests for LuaPreprocess.
--= Test suite for LuaPreprocess
--==============================================================

io.stdout:setvbuf("no")
Expand Down

0 comments on commit dacade8

Please sign in to comment.