diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-08-11 11:19:33 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-08-11 11:19:33 -0300 |
commit | 59acd79c05b78950fe03279d60b015aeed5348ab (patch) | |
tree | afcfc5473099ee36e77ef6a2907345e18ca86ddc /testes/errors.lua | |
parent | e2c07dcbf7492e79e5825a6ca66d28e2e372f71e (diff) | |
download | lua-59acd79c05b78950fe03279d60b015aeed5348ab.tar.gz lua-59acd79c05b78950fe03279d60b015aeed5348ab.tar.bz2 lua-59acd79c05b78950fe03279d60b015aeed5348ab.zip |
Added tests for string reuse by the scanner
Diffstat (limited to 'testes/errors.lua')
-rw-r--r-- | testes/errors.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/errors.lua b/testes/errors.lua index a7dc479a..55bdab82 100644 --- a/testes/errors.lua +++ b/testes/errors.lua | |||
@@ -241,7 +241,7 @@ do -- named objects (field '__name') | |||
241 | assert(o == x) | 241 | assert(o == x) |
242 | return "ABC" | 242 | return "ABC" |
243 | end}) | 243 | end}) |
244 | a, b, c = T.testC("pushint 10; Ltolstring -2; return 3", x) | 244 | local a, b, c = T.testC("pushint 10; Ltolstring -2; return 3", x) |
245 | assert(a == x and b == 10 and c == "ABC") | 245 | assert(a == x and b == 10 and c == "ABC") |
246 | end | 246 | end |
247 | end | 247 | end |