summaryrefslogtreecommitdiff
path: root/test/psych/visitors/test_yaml_tree.rb
diff options
context:
space:
mode:
-rw-r--r--test/psych/visitors/test_yaml_tree.rb21
1 files changed, 21 insertions, 0 deletions
@@ -73,6 +73,27 @@ module Psych
assert_equal s.method, obj.method
end
def test_exception
ex = Exception.new 'foo'
loaded = Psych.unsafe_load(Psych.dump(ex))