File tree 1 file changed +10
-9
lines changed
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -218,19 +218,20 @@ Rebol [
218
218
===end-group===
219
219
220
220
===start-group=== "reflection"
221
- m: make map! b: [a 1 b: 2 :c 3 'd 4 #e 5 /f 6 "a" 7 <b > 8 9 9 #"c" 10 a@b 11 ]
221
+ ;@@ https://github.com/Oldes/Rebol-issues/issues/774
222
+ m: make map! b: [a 1 b: 2 :c 3 'd 4 #e 5 /f 6 "a" 7 <b > 8 9 9 #"c" 10 a@b 11 3.14 12 1x0 13 ]
222
223
--test-- "body of map"
223
- --assert [a 1 b: 2 :c 3 'd 4 #e 5 /f 6 "a" 7 <b > 8 9 9 #"c" 10 a@b 11 ] = b
224
- --assert [a: 1 b: 2 c: 3 d: 4 e: 5 f: 6 "a" 7 <b > 8 9 9 #"c" 10 a@b 11 ] = body-of m
225
- --assert [a: 1 b: 2 c: 3 d: 4 e: 5 f: 6 "a" 7 <b > 8 9 9 #"c" 10 a@b 11 ] = reflect m 'body
224
+ --assert [a 1 b: 2 :c 3 'd 4 #e 5 /f 6 "a" 7 <b > 8 9 9 #"c" 10 a@b 11 3.14 12 1x0 13 ] = b
225
+ --assert [a: 1 b: 2 c: 3 d: 4 e: 5 f: 6 "a" 7 <b > 8 9 9 #"c" 10 a@b 11 3.14 12 1x0 13 ] = body-of m
226
+ --assert [a: 1 b: 2 c: 3 d: 4 e: 5 f: 6 "a" 7 <b > 8 9 9 #"c" 10 a@b 11 3.14 12 1x0 13 ] = reflect m 'body
226
227
227
228
--test-- "values of map"
228
- --assert [1 2 3 4 5 6 7 8 9 10 11 ] = values-of m
229
- --assert [1 2 3 4 5 6 7 8 9 10 11 ] = reflect m 'values
229
+ --assert [1 2 3 4 5 6 7 8 9 10 11 12 13 ] = values-of m
230
+ --assert [1 2 3 4 5 6 7 8 9 10 11 12 13 ] = reflect m 'values
230
231
231
- --test-- "words of map"
232
- --assert [a b c d e f "a" <b > 9 #"c" a@b ] = words -of m
233
- --assert [a b c d e f "a" <b > 9 #"c" a@b ] = reflect m 'words
232
+ --test-- "keys of map"
233
+ --assert [a b c d e f "a" <b > 9 #"c" a@b 3.14 1x0 ] = keys -of m
234
+ --assert [a b c d e f "a" <b > 9 #"c" a@b 3.14 1x0 ] = reflect m 'words
234
235
235
236
===end-group===
236
237
You can’t perform that action at this time.
0 commit comments