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

Fix build failures

This commit is contained in:
Yuki Nishijima 2020-06-05 00:53:10 -04:00
parent e5f5446528
commit 7cfd6a0bb9
Notes: git 2020-06-07 02:02:42 +09:00

View file

@ -110,14 +110,14 @@ describe "NoMethodError#message" do
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