diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-16 22:04:19 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-16 22:04:19 +0000 |
commit | acde7364f707cc831a79fd7a221635d4ec8648a4 (patch) | |
tree | 79f122b6a5a5182b2d715363c9045f36582e9d42 /test/ruby/test_numeric.rb | |
parent | d9d3781de0cfac4d0fa5e2dd9c920f7c66a77a3f (diff) | |
download | ruby-acde7364f707cc831a79fd7a221635d4ec8648a4.tar.gz |
* numeric.c: provides predicate real? instead of scalar?.
* complex.c: follows the above change.
* lib/cmath.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_numeric.rb')
-rw-r--r-- | test/ruby/test_numeric.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_numeric.rb b/test/ruby/test_numeric.rb index 3db054fdae..0dd7b2e99c 100644 --- a/test/ruby/test_numeric.rb +++ b/test/ruby/test_numeric.rb @@ -72,8 +72,8 @@ class TestNumeric < Test::Unit::TestCase end end - def test_scalar_p - assert(Numeric.new.scalar?) + def test_real_p + assert(Numeric.new.real?) end def test_integer_p |