Skip to content

Commit 47a0f5d

Browse files
committed
TEST: APPEND REMOVE crashes
Related to: metaeducation/rebol-issues#146
1 parent 2c5f9c7 commit 47a0f5d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/tests/units/series-test.r3

+8
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,14 @@ Rebol [
230230
--assert #{000203} = head remove next #{00010203}
231231
--test-- "remove-bin-4"
232232
--assert #{0003} = head remove/part next #{00010203} 2
233+
234+
--test-- "issue-146"
235+
;@@ https://github.com/rebol/rebol-issues/issues/146
236+
b: append [] 0
237+
repeat n 10 [ append b n remove b]
238+
--assert 1 = length? b
239+
--assert 10 = first b
240+
233241
===end-group===
234242

235243
===start-group=== "SORT"

0 commit comments

Comments
 (0)