Skip to content

Commit 3288007

Browse files
committed
TEST: inserting an inappropriate value into image
related to: Oldes/Rebol-issues#817
1 parent 082a316 commit 3288007

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/tests/units/image-test.r3

+8
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,14 @@ FFFFFFDC1616212121212121
349349
img: head img
350350
--assert #{AAAAAABBBBBB} = img/rgb
351351

352+
--test-- "INSERT invalid"
353+
;@@ https://github.com/Oldes/Rebol-issues/issues/817
354+
img: make image! 2x0
355+
--assert 0 = length? img
356+
--assert error? try [append img "a"]
357+
--assert 0 = length? img
358+
359+
352360
===end-group===
353361

354362

0 commit comments

Comments
 (0)