diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-01-28 18:43:14 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-01-28 18:43:14 +0800 |
| commit | dd64edd58fe25ec74ae5958128cf3f74b0692f3b (patch) | |
| tree | 0f2de1df55897e2713977c5a53936757e14b477a /spec/inputs/test/varargs_assignment_spec.yue | |
| parent | 7c2a92b82e9808d3c5ea29b47d1c59d663fe984a (diff) | |
| download | yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.tar.gz yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.tar.bz2 yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.zip | |
Fixed compiler issues and added 800+ test cases.
Diffstat (limited to 'spec/inputs/test/varargs_assignment_spec.yue')
| -rw-r--r-- | spec/inputs/test/varargs_assignment_spec.yue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/test/varargs_assignment_spec.yue b/spec/inputs/test/varargs_assignment_spec.yue index 1c3b627..dfd606b 100644 --- a/spec/inputs/test/varargs_assignment_spec.yue +++ b/spec/inputs/test/varargs_assignment_spec.yue | |||
| @@ -46,7 +46,7 @@ describe "varargs assignment", -> | |||
| 46 | assert.same select(3, ...), 2 | 46 | assert.same select(3, ...), 2 |
| 47 | 47 | ||
| 48 | it "should work with table.unpack", -> | 48 | it "should work with table.unpack", -> |
| 49 | tb = {a: 1, b: 2, c: 3} | 49 | tb = [1, 2, 3] |
| 50 | fn = -> table.unpack tb | 50 | fn = -> table.unpack tb |
| 51 | ... = fn! | 51 | ... = fn! |
| 52 | count = select '#', ... | 52 | count = select '#', ... |
