From dd64edd58fe25ec74ae5958128cf3f74b0692f3b Mon Sep 17 00:00:00 2001 From: Li Jin Date: Wed, 28 Jan 2026 18:43:14 +0800 Subject: Fixed compiler issues and added 800+ test cases. --- spec/inputs/test/table_append_spec.yue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spec/inputs/test/table_append_spec.yue') diff --git a/spec/inputs/test/table_append_spec.yue b/spec/inputs/test/table_append_spec.yue index ab3d6d2..51c7873 100644 --- a/spec/inputs/test/table_append_spec.yue +++ b/spec/inputs/test/table_append_spec.yue @@ -30,12 +30,12 @@ describe "table append", -> tab[] = ...tb2 assert.same tab, {1, 2} - it "should append nil values", -> + it "should not append nil values", -> tab = [] tab[] = nil tab[] = "value" - assert.same tab[1], nil - assert.same tab[2], "value" + assert.same tab[2], nil + assert.same tab[1], "value" it "should work in loop", -> tab = [] @@ -73,5 +73,5 @@ describe "table append", -> it "should append function results", -> fn = -> 1, 2, 3 tab = [] - tab[] = fn! + tab[] = ...[fn!,] assert.same tab, {1, 2, 3} -- cgit v1.2.3-55-g6feb