From 640a62ea716e05601089e8de6d463af6fd295d31 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 7 May 2008 09:18:06 +0000 Subject: * string.c (sym_to_i): remove obsolete method. preparation for symbol GC. * numeric.c (fix_to_sym): ditto. * numeric.c (fix_id2name): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_fixnum.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'test') diff --git a/test/ruby/test_fixnum.rb b/test/ruby/test_fixnum.rb index e0d2b18b44..43737d60b0 100644 --- a/test/ruby/test_fixnum.rb +++ b/test/ruby/test_fixnum.rb @@ -238,11 +238,4 @@ class TestFixnum < Test::Unit::TestCase assert(!(1.send(:<=, 0.0))) assert_raise(ArgumentError) { 1.send(:<=, nil) } end - - def test_id2name - assert_equal("foo", :foo.to_i.id2name) - assert_nil(0.id2name) - assert_equal(:foo, :foo.to_i.to_sym) - assert_nil(0.to_sym) - end end -- cgit v1.2.3