diff options
Diffstat (limited to 'server/test/diagnostics')
-rw-r--r-- | server/test/diagnostics/init.lua | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua index 555bc0a8..c854e5a2 100644 --- a/server/test/diagnostics/init.lua +++ b/server/test/diagnostics/init.lua @@ -185,6 +185,34 @@ print() ]] TEST [[ +return { + print + <!'string'!> +} +]] + +TEST [[ +return { + print + <!{ + x = 1, + }!> +} +]] + +TEST [[ +print() +'string' +]] + +TEST [[ +print +{ + x = 1, +} +]] + +TEST [[ local function x(a, b) return a, b end |