diff options
Diffstat (limited to 'test/ruby/test_module.rb')
-rw-r--r-- | test/ruby/test_module.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index 4ca79a7d5c..65e6a2c4c4 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -1695,7 +1695,7 @@ class TestModule < Test::Unit::TestCase to_f / other end end - Fixnum.send(:prepend, M) + Integer.send(:prepend, M) assert_equal(0.5, 1 / 2, "#{bug7983}") } assert_equal(0, 1 / 2) @@ -1706,7 +1706,7 @@ class TestModule < Test::Unit::TestCase assert_separately [], %{ module M end - class Fixnum + class Integer prepend M def /(other) quo(other) @@ -1722,7 +1722,7 @@ class TestModule < Test::Unit::TestCase assert_separately [], %{ module M end - class Fixnum + class Integer prepend M end module M |