diff options
Diffstat (limited to '')
-rw-r--r-- | spec/inputs/in_expression.yue | 2 | ||||
-rw-r--r-- | spec/outputs/in_expression.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/inputs/in_expression.yue b/spec/inputs/in_expression.yue index 66a8215..4080016 100644 --- a/spec/inputs/in_expression.yue +++ b/spec/inputs/in_expression.yue | |||
@@ -36,7 +36,7 @@ do | |||
36 | do | 36 | do |
37 | item = get! | 37 | item = get! |
38 | list = {1, 2, 3} | 38 | list = {1, 2, 3} |
39 | exist = item 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} |
diff --git a/spec/outputs/in_expression.lua b/spec/outputs/in_expression.lua index 41ae87e..ccc5fd0 100644 --- a/spec/outputs/in_expression.lua +++ b/spec/outputs/in_expression.lua | |||
@@ -92,7 +92,7 @@ do | |||
92 | 2, | 92 | 2, |
93 | 3 | 93 | 3 |
94 | } | 94 | } |
95 | local exist = (#list > 0 and (function() | 95 | local not_exist = not (#list > 0 and (function() |
96 | for _index_0 = 1, #list do | 96 | for _index_0 = 1, #list do |
97 | if list[_index_0] == item then | 97 | if list[_index_0] == item then |
98 | return true | 98 | return true |