summaryrefslogtreecommitdiff
path: root/test/ruby/test_fixnum.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-07 09:18:06 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-07 09:18:06 +0000
commit640a62ea716e05601089e8de6d463af6fd295d31 (patch)
tree2bafb581b06c64c1c5a2b939f2049815c8a288cb /test/ruby/test_fixnum.rb
parent9757c5450ce440384931965bec959a72da251867 (diff)
* 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
Diffstat (limited to 'test/ruby/test_fixnum.rb')
-rw-r--r--test/ruby/test_fixnum.rb7
1 files changed, 0 insertions, 7 deletions
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