diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2020-03-22 09:30:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-22 09:30:20 -0700 |
| commit | adecd43197d5ea2a62a618a5c9be653bcf009c62 (patch) | |
| tree | 87d424ac3085c83ed021273ee2ad9e8b4a11f5d6 /test/ruby/test_method.rb | |
| parent | 4f7b435c955792af780fe9e94f98d3dde839e056 (diff) | |
Merge pull request #2721 from jeremyevans/method-inspect-chain-alias-11188
Correctly show defined class for aliases of aliases
Notes
Notes:
Merged-By: jeremyevans <code@jeremyevans.net>
Diffstat (limited to 'test/ruby/test_method.rb')
| -rw-r--r-- | test/ruby/test_method.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb index 01a69059e8..12f6f9aa27 100644 --- a/test/ruby/test_method.rb +++ b/test/ruby/test_method.rb @@ -828,7 +828,7 @@ class TestMethod < Test::Unit::TestCase assert_equal(c, c.instance_method(:foo).owner) assert_equal(c, x.method(:foo).owner) assert_equal(x.singleton_class, x.method(:bar).owner) - assert_not_equal(x.method(:foo), x.method(:bar), bug7613) + assert_equal(x.method(:foo), x.method(:bar), bug7613) assert_equal(c, x.method(:zot).owner, bug7993) assert_equal(c, c.instance_method(:zot).owner, bug7993) end |
