aboutsummaryrefslogtreecommitdiff
path: root/testes/main.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-04-23 11:36:09 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-04-23 11:36:09 -0300
commit9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed (patch)
tree50d7ec68ff36d2fa017b970b11985c6cce5861aa /testes/main.lua
parent50fd8d03c33bbe52ac5b34c4eb748197b349cedd (diff)
downloadlua-9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed.tar.gz
lua-9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed.tar.bz2
lua-9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed.zip
Details (typos in comments)
Diffstat (limited to 'testes/main.lua')
-rw-r--r--testes/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/testes/main.lua b/testes/main.lua
index bf3c898e..eb63d588 100644
--- a/testes/main.lua
+++ b/testes/main.lua
@@ -226,7 +226,7 @@ RUN("lua -l 'str=string' '-lm=math' -e 'print(m.sin(0))' %s > %s", prog, out)
226checkout("0.0\nALO ALO\t20\n") 226checkout("0.0\nALO ALO\t20\n")
227 227
228 228
229-- test module names with version sufix ("libs/lib2-v2") 229-- test module names with version suffix ("libs/lib2-v2")
230RUN("env LUA_CPATH='./libs/?.so' lua -l lib2-v2 -e 'print(lib2.id())' > %s", 230RUN("env LUA_CPATH='./libs/?.so' lua -l lib2-v2 -e 'print(lib2.id())' > %s",
231 out) 231 out)
232checkout("true\n") 232checkout("true\n")
@@ -347,7 +347,7 @@ checkout("a\n")
347RUN([[lua "-eprint(1)" -ea=3 -e "print(a)" > %s]], out) 347RUN([[lua "-eprint(1)" -ea=3 -e "print(a)" > %s]], out)
348checkout("1\n3\n") 348checkout("1\n3\n")
349 349
350-- test iteractive mode 350-- test interactive mode
351prepfile[[ 351prepfile[[
352(6*2-6) -- === 352(6*2-6) -- ===
353a = 353a =