[前][次][番号順一覧][スレッド一覧]

ruby-changes:56214

From: Hiroshi <ko1@a...>
Date: Tue, 25 Jun 2019 16:47:17 +0900 (JST)
Subject: [ruby-changes:56214] Hiroshi SHIBATA: d7887b05d8 (trunk): Fixed broken ruby/spec related a53ab897c35586a836710a8afeb1e8c1abd9b087

https://git.ruby-lang.org/ruby.git/commit/?id=d7887b05d8

From d7887b05d810e7e3188d25ed91364d5850d92cd7 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Tue, 25 Jun 2019 16:46:42 +0900
Subject: Fixed broken ruby/spec related
 a53ab897c35586a836710a8afeb1e8c1abd9b087


diff --git a/spec/ruby/library/yaml/to_yaml_spec.rb b/spec/ruby/library/yaml/to_yaml_spec.rb
index d73ae9b..8e80b02 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 https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/yaml/to_yaml_spec.rb#L73
   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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]