aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs')
-rw-r--r--spec/inputs/in_expression.yue9
1 files changed, 8 insertions, 1 deletions
diff --git a/spec/inputs/in_expression.yue b/spec/inputs/in_expression.yue
index 4080016..6e923e1 100644
--- a/spec/inputs/in_expression.yue
+++ b/spec/inputs/in_expression.yue
@@ -39,7 +39,14 @@ do
39 not_exist = item not in list 39 not_exist = item not in list
40 check item in list 40 check item in list
41 check item in {1, 2, 3} 41 check item in {1, 2, 3}
42 check item in {[1]: 1, [2]: 2, [3]: 3} 42 check item(...) in {[1]: 1, [2]: 2, [3]: 3}
43
44do
45 check -> x in tb
46 check -> x not in tb
47 local x, tb
48 check -> return x in tb
49 check -> x not in tb
43 50
44nil 51nil
45 52