aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_method.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_method.rb')
-rw-r--r--test/ruby/test_method.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb
index 2ef37c4af6..ad68357ddf 100644
--- a/test/ruby/test_method.rb
+++ b/test/ruby/test_method.rb
@@ -194,6 +194,7 @@ class TestMethod < Test::Unit::TestCase
end
m = o.method(:bar)
assert_equal(:bar, m.name)
+ assert_equal(:foo, m.original_name)
end
def test_instance_method