summaryrefslogtreecommitdiff
path: root/test/type_inference
diff options
context:
space:
mode:
Diffstat (limited to 'test/type_inference')
-rw-r--r--test/type_inference/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 20d2c6e9..4d135004 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -154,6 +154,10 @@ TEST 'integer' [[
<?x?> = ~ 1
]]
+TEST 'boolean' [[
+<?x?> = 1 < 2
+]]
+
TEST 'integer' [[
local a = true
local b = 1