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

ruby-changes:58853

From: zverok <ko1@a...>
Date: Wed, 20 Nov 2019 13:43:15 +0900 (JST)
Subject: [ruby-changes:58853] baf482bab4 (master): Fix test_module.rb

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

From baf482bab4776f781c3569d9f581e38bbf0548e1 Mon Sep 17 00:00:00 2001
From: zverok <zverok.offline@g...>
Date: Sun, 27 Oct 2019 13:32:17 +0200
Subject: Fix test_module.rb


diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb
index 79f7965..3ddfcd9 100644
--- a/test/ruby/test_module.rb
+++ b/test/ruby/test_module.rb
@@ -2372,7 +2372,7 @@ class TestModule < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_module.rb#L2372
 
       A.prepend InspectIsShallow
 
-      expect = "#<Method: A(ShallowInspect)#inspect(shallow_inspect) -:7>"
+      expect = "#<Method: A(ShallowInspect)#inspect(shallow_inspect)() -:7>"
       assert_equal expect, A.new.method(:inspect).inspect, "#{bug_10282}"
     RUBY
   end
-- 
cgit v0.10.2


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

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