diff options
| author | Li Jin <dragon-fly@qq.com> | 2025-01-30 13:46:12 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2025-01-30 13:46:12 +0800 |
| commit | cf91f61990babdd8a80774809e9e860a155e4201 (patch) | |
| tree | f163ca2a655f614c844ae786c5c0fe73a9422ef2 /spec/inputs | |
| parent | 56287718ddbb85b66a011e014f01a844580caf16 (diff) | |
| download | yuescript-cf91f61990babdd8a80774809e9e860a155e4201.tar.gz yuescript-cf91f61990babdd8a80774809e9e860a155e4201.tar.bz2 yuescript-cf91f61990babdd8a80774809e9e860a155e4201.zip | |
Fixed one more case for issue #185.
Diffstat (limited to 'spec/inputs')
| -rw-r--r-- | spec/inputs/in_expression.yue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/inputs/in_expression.yue b/spec/inputs/in_expression.yue index 0393881..f34a4ad 100644 --- a/spec/inputs/in_expression.yue +++ b/spec/inputs/in_expression.yue | |||
| @@ -89,5 +89,9 @@ do | |||
| 89 | b = 1 | 89 | b = 1 |
| 90 | print a in [b, 10, b] | 90 | print a in [b, 10, b] |
| 91 | 91 | ||
| 92 | do | ||
| 93 | print x in ["", ""] | ||
| 94 | print 1 in [1, 2, 1] | ||
| 95 | |||
| 92 | nil | 96 | nil |
| 93 | 97 | ||
