Skip to content

Commit d066e25

Browse files
committed
1 parent a7a8266 commit d066e25

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/tests/units/series-test.r3

+7
Original file line numberDiff line numberDiff line change
@@ -1850,6 +1850,13 @@ Rebol [
18501850
--assert block? random next [1 2]
18511851
--assert integer? random/only next [1 2]
18521852

1853+
--test-- "copy/part limit"
1854+
;@@ https://github.com/Oldes/Rebol-issues/issues/853
1855+
--assert [1] = copy/part tail [1] -2147483647
1856+
--assert [1] = copy/part tail [1] -2147483648
1857+
--assert all [error? e: try [copy/part tail [1] -2147483649] e/id = 'out-of-range]
1858+
1859+
18531860
===end-group===
18541861

18551862

0 commit comments

Comments
 (0)