aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-08-09 16:09:13 +0800
committerLi Jin <dragon-fly@qq.com>2021-08-09 16:09:13 +0800
commitd7afa233f5534f9b5388cb9c8042c345a3dc3b30 (patch)
tree647a8d72861308d948b94565cbbc52f8faa0c570
parentf9859f5c6739c9a0d491ba64e241d147d4114ecb (diff)
downloadyuescript-d7afa233f5534f9b5388cb9c8042c345a3dc3b30.tar.gz
yuescript-d7afa233f5534f9b5388cb9c8042c345a3dc3b30.tar.bz2
yuescript-d7afa233f5534f9b5388cb9c8042c345a3dc3b30.zip
add spec.
-rw-r--r--spec/inputs/using.yue6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/inputs/using.yue b/spec/inputs/using.yue
index fe0a433..9944b60 100644
--- a/spec/inputs/using.yue
+++ b/spec/inputs/using.yue
@@ -13,10 +13,10 @@ _ = (a,b,c using a,b,c) ->
13 a,b,c = 1,2,3 13 a,b,c = 1,2,3
14 world = 12321 14 world = 12321
15 15
16(a,e,f using a,b,c, hello) -> 16_ = (a,e,f using a,b,c, hello) ->
17 a,b,c = 1,2,3 17 a,b,c = 1,2,3
18 hello = 12321 18 hello = 12321
19 world = "yeah" 19 world = "yeah"
20 20
21 21_ = (using nil) ->
22 22 hello or= 2