SHA256
1
0
forked from pool/lua54
lua54/main_test.patch
Callum Farmer 42bd18111b Accepting request 960438 from home:gmbr3:Lua
- Added patches from upstream:
  * luabugs1.patch
  * luabugs2.patch
- Adjust buildsystem so that it matches upstream git (testes??)

OBS-URL: https://build.opensuse.org/request/show/960438
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=52
2022-03-09 10:14:38 +00:00

29 lines
532 B
Diff

--- a/testes/main.lua
+++ b/testes/main.lua
@@ -47,7 +47,7 @@
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
@@ -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