forked from pool/lua54
e83266ea25
- Move tests to separate build OBS-URL: https://build.opensuse.org/request/show/865973 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=21
20 lines
293 B
Diff
20 lines
293 B
Diff
--- a/main.lua
|
|
+++ b/main.lua
|
|
@@ -307,11 +307,11 @@
|
|
]]
|
|
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))
|
|
|
|
|
|
-- test for error objects
|