Skip to content

Commit 97c54e2

Browse files
committed
1 parent 3f04f28 commit 97c54e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/tests/units/bitset-test.r3

+8
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@
147147
--assert pick ABC "BCB"
148148
--assert not pick ABC "BCBX"
149149

150+
--test-- "pick logic" ; not allowed
151+
;@@ https://github.com/Oldes/Rebol-issues/issues/823
152+
b: make bitset! #{C0}
153+
--assert pick b 0
154+
--assert all [error? e: try [pick b true] e/id = 'invalid-type]
155+
--assert all [error? e: try [poke b true none] e/id = 'invalid-type]
156+
157+
150158
===end-group===
151159

152160
===start-group=== "modify"

0 commit comments

Comments
 (0)