1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed broken ruby/spec related a53ab897c3

This commit is contained in:
Hiroshi SHIBATA 2019-06-25 16:46:42 +09:00
parent 746812ee96
commit d7887b05d8
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -73,7 +73,7 @@ describe "Object#to_yaml" do
end
it "returns the YAML representation of a Error object" do
StandardError.new("foobar").to_yaml.should match_yaml("--- !ruby/exception:StandardError\nmessage: foobar\n")
StandardError.new("foobar").to_yaml.should match_yaml("--- !ruby/exception:StandardError\nmessage: foobar\nbacktrace: \n")
end
it "returns the YAML representation for Range objects" do