diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics/init.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua index 00752c42..6563371d 100644 --- a/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua @@ -1031,3 +1031,21 @@ end return m ]] + +TEST [[ +local m = {} + +m.x = true +m.x = false + +return m +]] + +TEST [[ +local m = {} + +m.x = io.open() +m.x = nil + +return m +]] |