diff options
Diffstat (limited to 'test/psych')
-rw-r--r-- | test/psych/test_coder.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/psych/test_coder.rb b/test/psych/test_coder.rb index 4809b13d5d..7571e89c9d 100644 --- a/test/psych/test_coder.rb +++ b/test/psych/test_coder.rb @@ -85,7 +85,7 @@ module Psych end def encode_with coder - coder.represent_map self.class.name, { 'a' => 'b' } + coder.represent_map self.class.name, { "string" => 'a', :symbol => 'b' } end end @@ -131,7 +131,7 @@ module Psych def test_represent_map thing = Psych.load(Psych.dump(RepresentWithMap.new)) - assert_equal({ 'a' => 'b' }, thing.map) + assert_equal({ "string" => 'a', :symbol => 'b' }, thing.map) end def test_represent_sequence |