Skip to content

Commit 0ff0325

Browse files
committed
1 parent cd7f307 commit 0ff0325

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/tests/units/object-test.r3

+7
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ Rebol [
7171
--assert 2 = obj/b
7272
--assert object? insert obj [c 3]
7373
--assert 3 = obj/c
74+
--test-- "append with duplicates"
75+
;@@ https://github.com/Oldes/Rebol-issues/issues/1979
76+
--assert all [
77+
object? append obj: object [] [b: 2 b: 3 b: 4]
78+
[b] = words-of obj
79+
obj/b == 4
80+
]
7481
--test-- "extend object with hidden value"
7582
;@@ https://github.com/Oldes/Rebol-issues/issues/1140
7683
obj: object [a: 1 protect/hide 'a]

0 commit comments

Comments
 (0)