tests on collection's item assignments and some other changes

This commit is contained in:
2024-06-05 05:09:13 +02:00
parent 9e63e1402e
commit 457a656073
2 changed files with 24 additions and 15 deletions
+2
View File
@@ -28,6 +28,8 @@ func TestDictParser(t *testing.T) {
/* 5 */ {`#{1:"one",2:"two",3:"three"}`, int64(3), nil},
/* 6 */ {`{1:"one"} + {2:"two"}`, map[any]any{1: "one", 2: "two"}, nil},
/* 7 */ {`2 in {1:"one", 2:"two"}`, true, nil},
/* 8 */ {`D={"a":1, "b":2}; D["a"]=9; D`, map[any]any{"a":9, "b":2},nil},
/* 9 */ {`D={"a":1, "b":2}; D["z"]=9; D`, map[any]any{"z":9, "a":1, "b":2},nil},
}
succeeded := 0