From 0496299e1597826a1ae60bb0f1f997baa12a0743 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 6 Mar 2012 02:43:21 +0000 Subject: merge revision(s) 34908: * ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bug that causes YAML serialization problem for Exception. Exception#initialize doesn't use visible instance variable for the exception message, so call the method with the message. patched by Jingwen Owen Ou . http://github.com/ruby/ruby/pull/41 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/syck/test_exception.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/syck/test_exception.rb b/test/syck/test_exception.rb index b85cabcd6b..b8ac14e293 100644 --- a/test/syck/test_exception.rb +++ b/test/syck/test_exception.rb @@ -13,7 +13,7 @@ module Syck end def setup - @wups = Wups.new + @wups = Wups.new('test_message') end def test_to_yaml -- cgit v1.2.3