diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-04-23 11:36:09 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-04-23 11:36:09 -0300 |
commit | 9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed (patch) | |
tree | 50d7ec68ff36d2fa017b970b11985c6cce5861aa /testes/files.lua | |
parent | 50fd8d03c33bbe52ac5b34c4eb748197b349cedd (diff) | |
download | lua-9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed.tar.gz lua-9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed.tar.bz2 lua-9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed.zip |
Details (typos in comments)
Diffstat (limited to 'testes/files.lua')
-rw-r--r-- | testes/files.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/files.lua b/testes/files.lua index 53edf314..a0ae661c 100644 --- a/testes/files.lua +++ b/testes/files.lua | |||
@@ -478,7 +478,7 @@ do print("testing flush") | |||
478 | end | 478 | end |
479 | 479 | ||
480 | 480 | ||
481 | -- test for multipe arguments in 'lines' | 481 | -- test for multiple arguments in 'lines' |
482 | io.output(file); io.write"0123456789\n":close() | 482 | io.output(file); io.write"0123456789\n":close() |
483 | for a,b in io.lines(file, 1, 1) do | 483 | for a,b in io.lines(file, 1, 1) do |
484 | if a == "\n" then assert(not b) | 484 | if a == "\n" then assert(not b) |