Fixed tests to accommodate for the new semicolons

This commit is contained in:
Nathan DECHER 2020-04-30 23:37:36 +02:00 committed by leaf
parent 494387236e
commit 4ff4077a21
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ local f = [[hello #{world} world]]
a = 'hello #{hello} hello' a = 'hello #{hello} hello'
b = '#{hello} hello' b = '#{hello} hello'
c = 'hello #{hello}' c = 'hello #{hello}'
local _ = "hello" local _ = "hello";
("hello"):format(1); ("hello"):format(1);
("hello"):format(1, 2, 3); ("hello"):format(1, 2, 3);
("hello"):format(1, 2, 3)(1, 2, 3); ("hello"):format(1, 2, 3)(1, 2, 3);

View File

@ -192,7 +192,7 @@ _ = 5 + what(wack)
what(whack + 5) what(whack + 5)
_ = 5 - what(wack) _ = 5 - what(wack)
what(whack - 5) what(whack - 5)
x = hello - world - something x = hello - world - something;
(function(something) (function(something)
if something == nil then if something == nil then
do do