diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-07-14 15:42:55 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-07-14 15:46:07 +0900 |
commit | 47b04557b01dc109ccafc33db8e80148f07457a9 (patch) | |
tree | 8c11cbfd7f1982ef7284c2a10a3ddf2fbee35c1d /test/ruby/test_module.rb | |
parent | 4ce935cd5dde69b39bb98b8948d41e3afba81e33 (diff) |
Method#inspect with source location.
Method#inspect shows with source location.
[Feature #14145]
Diffstat (limited to 'test/ruby/test_module.rb')
-rw-r--r-- | test/ruby/test_module.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index 604edf5f59..37045ad0d9 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -2313,7 +2313,7 @@ class TestModule < Test::Unit::TestCase A.prepend InspectIsShallow - expect = "#<Method: A(ShallowInspect)#inspect(shallow_inspect)>" + expect = "#<Method: A(ShallowInspect)#inspect(shallow_inspect) -:7>" assert_equal expect, A.new.method(:inspect).inspect, "#{bug_10282}" RUBY end |