aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-25 16:46:42 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-25 16:46:53 +0900
commitd7887b05d810e7e3188d25ed91364d5850d92cd7 (patch)
tree8ebc8d810ca0c0d7a91e1dee1517c1c870401f8a /spec/ruby
parent746812ee9645ff821a039136f9576b7c8f18b920 (diff)
downloadruby-d7887b05d810e7e3188d25ed91364d5850d92cd7.tar.gz
Fixed broken ruby/spec related a53ab897c35586a836710a8afeb1e8c1abd9b087
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/library/yaml/to_yaml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/yaml/to_yaml_spec.rb b/spec/ruby/library/yaml/to_yaml_spec.rb
index d73ae9bee4..8e80b02cb4 100644
--- a/spec/ruby/library/yaml/to_yaml_spec.rb
+++ b/spec/ruby/library/yaml/to_yaml_spec.rb
@@ -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