Skip to content

Commit b7eb572

Browse files
committed
1 parent 0465a5e commit b7eb572

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/tests/units/map-test.r3

+8
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,14 @@ Rebol [
233233
--assert [a b c d e f "a" <b> 9 #"c" a@b 3.14 1x0 $1] = keys-of m
234234
--assert [a b c d e f "a" <b> 9 #"c" a@b 3.14 1x0 $1] = reflect m 'words
235235

236+
--test-- "spec of map"
237+
;@@ https://github.com/Oldes/Rebol-issues/issues/1859
238+
--assert all [
239+
error? e: try [ spec-of #() ]
240+
e/id = 'expect-arg
241+
e/arg2 = 'value
242+
e/arg3 = map!
243+
]
236244
--test-- "path expression on map!"
237245
;@@ https://github.com/Oldes/Rebol-issues/issues/2421
238246
foreach k keys-of m [

0 commit comments

Comments
 (0)