summaryrefslogtreecommitdiff
path: root/test/syck
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-05 08:11:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-05 08:11:48 +0000
commiteb1eee03ca13eb13f8bfd02f18d9f5a0d5537ca6 (patch)
tree9f7171b3d076e9de54d2fa7fb60ebf6b29362027 /test/syck
parenta2749dbbf16d46a5a510e925941ea9fa397f353c (diff)
* 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 <jingweno AT gmail.com>. http://github.com/ruby/ruby/pull/41 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/syck')
-rw-r--r--test/syck/test_exception.rb2
1 files changed, 1 insertions, 1 deletions
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