ruby-changes:61589
From: Yuki <ko1@a...>
Date: Sun, 7 Jun 2020 02:02:28 +0900 (JST)
Subject: [ruby-changes:61589] 7cfd6a0bb9 (master): Fix build failures
https://git.ruby-lang.org/ruby.git/commit/?id=7cfd6a0bb9 From 7cfd6a0bb920a43bc9df57f35d9ccacf01e65563 Mon Sep 17 00:00:00 2001 From: Yuki Nishijima <yk.nishijima@g...> Date: Fri, 5 Jun 2020 00:53:10 -0400 Subject: Fix build failures diff --git a/spec/ruby/core/exception/no_method_error_spec.rb b/spec/ruby/core/exception/no_method_error_spec.rb index 420e107..b7ee543 100644 --- a/spec/ruby/core/exception/no_method_error_spec.rb +++ b/spec/ruby/core/exception/no_method_error_spec.rb @@ -110,14 +110,14 @@ describe "NoMethodError#message" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/exception/no_method_error_spec.rb#L110 begin klass.foo rescue NoMethodError => error - error.message.lines.first.should == "undefined method `foo' for MyClass:Class\n" + error.message.lines.first.should == "undefined method `foo' for MyClass:Class" end mod = Module.new { def self.name; "MyModule"; end } begin mod.foo rescue NoMethodError => error - error.message.lines.first.should == "undefined method `foo' for MyModule:Module\n" + error.message.lines.first.should == "undefined method `foo' for MyModule:Module" end end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/