We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b93faa commit c1a2fb5Copy full SHA for c1a2fb5
src/tests/units/func-test.r3
@@ -190,6 +190,23 @@ Rebol [
190
===end-group===
191
192
193
+===start-group=== "COLLECT-WORDS"
194
+ ;@@ https://github.com/Oldes/Rebol-issues/issues/544
195
+ blk: [a "b" c: 2 [:d e:]]
196
+ --test-- "collect-words"
197
+ --assert [a c] = collect-words blk
198
+ --test-- "collect-words/deep"
199
+ --assert [a c d e] = collect-words/deep blk
200
+ --test-- "collect-words/set"
201
+ --assert [c] = collect-words/set blk
202
+ --assert [c e] = collect-words/set/deep blk
203
+ --test-- "collect-words/ignore"
204
+ --assert [a c] = collect-words/ignore blk none
205
+ --assert [a] = collect-words/ignore blk [c]
206
+ --assert [c] = collect-words/ignore blk object [a: 1]
207
+===end-group===
208
+
209
210
===start-group=== "Other issues"
211
212
--test-- "issue-2025"
0 commit comments