summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-15 19:00:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-15 19:00:20 +0800
commita86a5884ddbdb32fad8dce1b50c6d0c76c862256 (patch)
tree33e5592de19171eb61f76e1ef10967a533a149bb /test
parenta93effc7b08c95e1c9f3f852648e09a28e685d05 (diff)
downloadlua-language-server-a86a5884ddbdb32fad8dce1b50c6d0c76c862256.zip
resolve #1212
Diffstat (limited to 'test')
-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