diff options
Diffstat (limited to 'test/diagnostics/missing-parameter.lua')
-rw-r--r-- | test/diagnostics/missing-parameter.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/diagnostics/missing-parameter.lua b/test/diagnostics/missing-parameter.lua index 91e9b88d..154d630b 100644 --- a/test/diagnostics/missing-parameter.lua +++ b/test/diagnostics/missing-parameter.lua @@ -80,3 +80,11 @@ local function x(a, b) end x(1) ]] + +TEST [[ +local t = {} + +function t:init() end + +<!t.init()!> +]] |