From 1ac456da0a44fa5885fec7e66b4a5553a1061f85 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: http://svn.ruby-lang.org/repos/ruby/trunk@16312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_fixnum.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_fixnum.rb b/test/ruby/test_fixnum.rb index e0d2b18b4..43737d60b 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