summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/psych/test_exception.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/psych/test_exception.rb b/test/psych/test_exception.rb
index e7fc88c706..e355c2692d 100644
--- a/test/psych/test_exception.rb
+++ b/test/psych/test_exception.rb
@@ -154,7 +154,8 @@ module Psych
def test_convert
w = Psych.load(Psych.dump(@wups))
- assert_equal @wups, w
+ assert_equal @wups.message, w.message
+ assert_equal @wups.backtrace, w.backtrace
assert_equal 1, w.foo
assert_equal 2, w.bar
end