Skip to content

Commit

Permalink
TEST: selection from a cleared map
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Mar 18, 2024
1 parent 164a3fa commit 3bc1773
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/tests/units/map-test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,15 @@ Rebol [
--assert not (m !== m)
--assert "" !== m

--test-- "select from cleared map"
m: make map! 50
--assert none? select m 'a
m/a: 1
--assert 1 == select m 'a
clear m
--assert none? select m 'a


===end-group===


Expand Down

0 comments on commit 3bc1773

Please sign in to comment.