Sha256: 21bacb7c01ca2d2e06a54f2b120a9bd810747754c03579fcee72bf47bf36f749
Contents?: true
Size: 146 Bytes
Versions: 4
Compression:
Stored size: 146 Bytes
Contents
covers 'facets/hash/swap' testcase Hash do unit :swap! do h = { :a=>1, :b=>2 } h.swap!(:a, :b).assert == { :a=>2, :b=>1 } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
facets-2.9.1 | test/core/hash/test_swap.rb |
facets-2.9.0 | test/core/hash/test_swap.rb |
facets-2.9.0.pre.2 | test/core/hash/test_swap.rb |
facets-2.9.0.pre.1 | test/core/hash/test_swap.rb |