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/implicit_object_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/implicit_object_spec.yue')
| -rw-r--r-- | spec/inputs/test/implicit_object_spec.yue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/inputs/test/implicit_object_spec.yue b/spec/inputs/test/implicit_object_spec.yue index cea926e..a0bd331 100644 --- a/spec/inputs/test/implicit_object_spec.yue +++ b/spec/inputs/test/implicit_object_spec.yue | |||
| @@ -142,9 +142,9 @@ describe "implicit object", -> | |||
| 142 | it "should handle empty implicit object", -> | 142 | it "should handle empty implicit object", -> |
| 143 | tb = | 143 | tb = |
| 144 | items: | 144 | items: |
| 145 | - | 145 | - nil |
| 146 | 146 | ||
| 147 | assert.same tb.items, {nil} | 147 | assert.same tb, {items: [nil,]} |
| 148 | 148 | ||
| 149 | it "should work in function arguments", -> | 149 | it "should work in function arguments", -> |
| 150 | fn = (items) -> #items | 150 | fn = (items) -> #items |
