We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 127a5a8 commit 2c2ad20Copy full SHA for 2c2ad20
src/tests/units/map-test.r3
@@ -63,6 +63,22 @@ Rebol [
63
64
===end-group===
65
66
+===start-group=== "APPEND on map!"
67
+ --test-- "appen on map with /part and /dup"
68
+ ;@@ https://github.com/Oldes/Rebol-issues/issues/1158
69
+ m: make map! [a 1]
70
+ --assert 1 = length? m
71
+ --assert 1 = length? append/part m [b 2] 0
72
+ --assert 2 = length? append/part m [b 2] 2
73
+ --assert 2 = length? append/dup m [c 3] 0
74
+ --assert 3 = length? append/dup m [c 3] 1
75
+ --assert 4 = length? append/dup m [d 4] 2
76
+ --assert 5 = length? append/part m [e 5 f 6] 1
77
+ --assert [1 2 3 4 5] = values-of m
78
+
79
+===end-group===
80
81
82
===start-group=== "map issues"
83
;@@ https://github.com/rebol/rebol-issues/issues/770
84
--test-- "map-issue-770"
0 commit comments