Sha256: 85f897b03ca128ed2e937b651b5a1bf02b279e8b35ee32cb4305a9d1eb064f1a
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/hash/weave.rb # # Extracted Wed Aug 23 18:22:52 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/hash/weave.rb' require 'test/unit' class TCHash < Test::Unit::TestCase def test_weave b = { :a=>1, :b=>[1,2,3], :c=>{ :x=>'X' } } c = { :a=>2, :b=>[4,5,6], :c=>{ :x=>'A', :y => 'B' } } r = { :a=>2, :b=>[1,2,3,4,5,6], :c=>{ :x => 'A', :y => 'B' } } assert_equal( r, b.weave(c) ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.7.30 | test/lib/facets/core/hash/test_weave.rb |