aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_method.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-28 02:12:21 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-28 02:12:21 +0000
commit3d751cde0fbfceea1c92a8bdaf5ad8401f19e0e6 (patch)
tree3dae5ac8d12b667e45c3bd2b90fd22a60b9a08fd /test/ruby/test_method.rb
parent59ba2bf0b676c288491b334c49886d6ba04b7dd3 (diff)
downloadruby-3d751cde0fbfceea1c92a8bdaf5ad8401f19e0e6.tar.gz
* proc.c (method_name): should return symbols instead of strings.
[ruby-dev:34531] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_method.rb')
-rw-r--r--test/ruby/test_method.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb
index 064e052715..ad05e04aba 100644
--- a/test/ruby/test_method.rb
+++ b/test/ruby/test_method.rb
@@ -107,7 +107,7 @@ class TestMethod < Test::Unit::TestCase
def o.foo; end
m = o.method(:foo)
assert_equal(o, m.receiver)
- assert_equal("foo", m.name)
+ assert_equal(:foo, m.name)
assert_equal(class << o; self; end, m.owner)
end