diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-28 02:12:21 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-28 02:12:21 +0000 |
commit | 3d751cde0fbfceea1c92a8bdaf5ad8401f19e0e6 (patch) | |
tree | 3dae5ac8d12b667e45c3bd2b90fd22a60b9a08fd /test/ruby/test_m17n.rb | |
parent | 59ba2bf0b676c288491b334c49886d6ba04b7dd3 (diff) | |
download | ruby-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_m17n.rb')
-rw-r--r-- | test/ruby/test_m17n.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb index dfb00ba657..3fd32ae92a 100644 --- a/test/ruby/test_m17n.rb +++ b/test/ruby/test_m17n.rb @@ -1041,8 +1041,8 @@ class TestM17N < Test::Unit::TestCase mu = method(u("\xc2\xa1")) assert_not_equal(me.name, mu.name) assert_not_equal(me.inspect, mu.inspect) - assert_equal(e("\xc2\xa1"), me.name) - assert_equal(u("\xc2\xa1"), mu.name) + assert_equal(e("\xc2\xa1"), me.name.to_s) + assert_equal(u("\xc2\xa1"), mu.name.to_s) end def test_symbol |