Sha256: 1d2e1056b6f2a4535004a83e2393060d65fb230a88eaee6d8a1c6a3d61989cd6
Contents?: true
Size: 667 Bytes
Versions: 1
Compression:
Stored size: 667 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/hash/keys_to_s.rb # # Extracted Tue Jun 06 09:30:19 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/hash/keys_to_s.rb' require 'test/unit' class TCHash < Test::Unit::TestCase def test_keys_to_s foo = { :a=>1, :b=>2 } assert_equal( { "a"=>1, "b"=>2 }, foo.keys_to_s ) assert_equal( { :a =>1, :b=>2 }, foo ) end def test_keys_to_s! foo = { :a=>1, :b=>2 } assert_equal( { "a"=>1, "b"=>2 }, foo.keys_to_s! ) assert_equal( { "a"=>1, "b"=>2 }, foo ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.1 | test/lib/facets/core/hash/test_keys_to_s.rb |