diff options
Diffstat (limited to 'test/ruby/test_complex.rb')
-rw-r--r-- | test/ruby/test_complex.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb index 9063149484..6d189f46dd 100644 --- a/test/ruby/test_complex.rb +++ b/test/ruby/test_complex.rb @@ -48,8 +48,8 @@ class Complex_Test < Test::Unit::TestCase end def test_hash - assert_fixnum(Complex(1,2).hash) - assert_fixnum(Complex(1.0,2.0).hash) + assert_kind_of(Integer, Complex(1,2).hash) + assert_kind_of(Integer, Complex(1.0,2.0).hash) h = {} h[Complex(0)] = 0 |