aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs')
-rw-r--r--spec/inputs/in_expression.yue2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/inputs/in_expression.yue b/spec/inputs/in_expression.yue
index 2756fe8..dacf820 100644
--- a/spec/inputs/in_expression.yue
+++ b/spec/inputs/in_expression.yue
@@ -4,6 +4,8 @@ a, b = x(...) not in [1, 3], 2
4 4
5d = (tb.x.y ...) not in [1, 3] 5d = (tb.x.y ...) not in [1, 3]
6 6
7has = "foo" in { "bar", "foo" }
8
7if a in {1} and b in {2, 3, 4} or c in [1, 10] 9if a in {1} and b in {2, 3, 4} or c in [1, 10]
8 print a, b, c 10 print a, b, c
9 11