diff options
author | Li Jin <dragon-fly@qq.com> | 2024-02-05 14:52:29 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2024-02-05 14:52:29 +0800 |
commit | 5ef5cff3efd030eb440133b5e4b2925bb9fe8ead (patch) | |
tree | a563ad80b12777dfcb920c21e2a00b201252b7aa /spec/inputs | |
parent | 018b9408f167067c596fc23781bc945edb9f4d89 (diff) | |
download | yuescript-0.21.8.tar.gz yuescript-0.21.8.tar.bz2 yuescript-0.21.8.zip |
fix an empty check case.v0.21.8
Diffstat (limited to 'spec/inputs')
-rw-r--r-- | spec/inputs/in_expression.yue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/inputs/in_expression.yue b/spec/inputs/in_expression.yue index 0b2a87a..e854083 100644 --- a/spec/inputs/in_expression.yue +++ b/spec/inputs/in_expression.yue | |||
@@ -72,6 +72,8 @@ do | |||
72 | 2 | 72 | 2 |
73 | x: 3 | 73 | x: 3 |
74 | } | 74 | } |
75 | 75 | print a in [] | |
76 | a = 1 | ||
77 | print a in {} | ||
76 | nil | 78 | nil |
77 | 79 | ||