mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
Fixed tests to accommodate for the new semicolons
This commit is contained in:
parent
494387236e
commit
4ff4077a21
@ -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);
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user