Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

Commit 477076a

Browse files
committed
update test
1 parent fb25285 commit 477076a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ end
88

99
local OK = "OK"
1010
local NOK = "NOK"
11-
local exit_status = false --testing
11+
local exit_status = true
1212

1313
local test_tre = function(expected, pattern, sample)
1414
local result
@@ -26,6 +26,7 @@ local test_tre = function(expected, pattern, sample)
2626
end
2727
print(_sf(printfmt, result, pattern, sample, expected))
2828
else
29+
exit_status = false
2930
print(_sf(printfmt, "ERROR", pattern, sample, expected))
3031
print(_sf("\t%s code:%s", exit, match))
3132
end

0 commit comments

Comments
 (0)