diff options
Diffstat (limited to 'server/test/definition/local.lua')
-rw-r--r-- | server/test/definition/local.lua | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/server/test/definition/local.lua b/server/test/definition/local.lua index 0737443d..f4744799 100644 --- a/server/test/definition/local.lua +++ b/server/test/definition/local.lua @@ -1,33 +1,33 @@ TEST [[ local <!x!> -<?x?> = 1 +<?x?>() ]] TEST [[ local z, y, <!x!> -<?x?> = 1 +<?x?>() ]] TEST [[ local <!x!> = 1 -<?x?> = 1 +<?x?>() ]] TEST [[ local z, y, <!x!> = 1 -<?x?> = 1 +<?x?>() ]] TEST [[ local x local <!x!> -<?x?> = 1 +<?x?>() ]] TEST [[ local <!x!> do - <?x?> = 1 + <?x?>() end ]] @@ -36,7 +36,7 @@ local <!x!> do local x end -<?x?> = 1 +<?x?>() ]] TEST [[ @@ -64,13 +64,13 @@ elseif x then else local x end -<?x?> = 1 +<?x?>() ]] TEST [[ local <!x!> if x then - <?x?> = 1 + <?x?>() elseif x then local x else @@ -82,13 +82,13 @@ TEST [[ local <!x!> for x = 1, 10 do end -<?x?> = 1 +<?x?>() ]] TEST [[ local x for <!x!> = 1, 10 do - <?x?> = 1 + <?x?>() end ]] @@ -96,7 +96,7 @@ TEST [[ local <!x!> for x in x do end -<?x?> = 1 +<?x?>() ]] TEST [[ @@ -108,14 +108,14 @@ end TEST [[ local x for <!x!> in x do - <?x?> = 1 + <?x?>() end ]] TEST [[ local x for z, y, <!x!> in x do - <?x?> = 1 + <?x?>() end ]] @@ -128,7 +128,7 @@ end TEST [[ local <!x!> while x do - <?x?> = 1 + <?x?>() end ]] @@ -137,13 +137,13 @@ local <!x!> while x do local x end -<?x?> = 1 +<?x?>() ]] TEST [[ local <!x!> repeat - <?x?> = 1 + <?x?>() until true ]] @@ -152,7 +152,7 @@ local <!x!> repeat local x until true -<?x?> = 1 +<?x?>() ]] TEST [[ @@ -173,19 +173,19 @@ local <!x!> function _() local x end -<?x?> = 1 +<?x?>() ]] TEST [[ local <!x!> return function () - <?x?> = 1 + <?x?>() end ]] TEST [[ local <!x!> local x = function () - <?x?> = 1 + <?x?>() end ]] |