Skip to content

Commit dacade8

Browse files
committed
Renamed test suite file.
1 parent 3f5cea8 commit dacade8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

preprocess.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2578,7 +2578,7 @@ local function _processFileOrString(params, isFile)
25782578

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

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

26332633
if not chunk then
2634-
local ln, _err = err:match'^.-:(%d+): (.*)'
2634+
local ln, _err = err:match"^.-:(%d+): (.*)"
26352635
errorOnLine(pathOut, (tonumber(ln) or 0), nil, "%s", (_err or err))
26362636
end
26372637
end

tests/runTests.cmd renamed to tests/runTestSuite.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ CD /D "%~dp0.."
33

44
IF NOT EXIST local MD local
55

6-
lua tests/runTests.lua
6+
lua tests/suite.lua

tests/runTests.lua renamed to tests/suite.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--==============================================================
2-
--= Tests for LuaPreprocess.
2+
--= Test suite for LuaPreprocess
33
--==============================================================
44

55
io.stdout:setvbuf("no")

0 commit comments

Comments
 (0)