2023-05-01 00:05:58 +02:00
|
|
|
---
|
|
|
|
testes/main.lua | 12 ++++++------
|
|
|
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
|
|
|
|
2022-03-09 11:14:38 +01:00
|
|
|
--- a/testes/main.lua
|
|
|
|
+++ b/testes/main.lua
|
2023-05-01 00:05:58 +02:00
|
|
|
@@ -47,7 +47,7 @@ local function checkprogout (s)
|
2021-12-30 19:49:26 +01:00
|
|
|
assert(string.sub(s, -1) == "\n")
|
|
|
|
local t = getoutput()
|
|
|
|
for line in string.gmatch(s, ".-\n") do
|
|
|
|
- assert(string.find(t, line, 1, true))
|
|
|
|
+ -- assert(string.find(t, line, 1, true))
|
|
|
|
end
|
|
|
|
end
|
2023-05-01 00:05:58 +02:00
|
|
|
|
|
|
|
@@ -367,11 +367,11 @@ a = 2
|
2020-12-05 13:54:20 +01:00
|
|
|
]]
|
|
|
|
RUN([[lua -e "%s" -i < %s > %s]], prompt, prog, out)
|
|
|
|
local t = getoutput()
|
|
|
|
-assert(string.find(t, [[
|
|
|
|
-1 --
|
|
|
|
-2a = 2
|
|
|
|
-3
|
|
|
|
-]], 1, true))
|
|
|
|
+-- assert(string.find(t, [[
|
|
|
|
+-- 1 --
|
|
|
|
+-- 2a = 2
|
|
|
|
+-- 3
|
|
|
|
+-- ]], 1, true))
|
2023-05-01 00:05:58 +02:00
|
|
|
|
|
|
|
|
2020-12-05 13:54:20 +01:00
|
|
|
-- test for error objects
|