diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-11 11:02:32 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-11 11:02:32 +0000 |
| commit | faab4e5c1207da8a5f132c2ac50005039b89f153 (patch) | |
| tree | 8b6ae92317bdbc216dace73eff57436b9953706c /test | |
| parent | 8370fa52a1b7e0915ce4dee6bf6e9485cdd4ef4d (diff) | |
| download | ruby-faab4e5c1207da8a5f132c2ac50005039b89f153.tar.gz ruby-faab4e5c1207da8a5f132c2ac50005039b89f153.tar.xz ruby-faab4e5c1207da8a5f132c2ac50005039b89f153.zip | |
merges r20177 from trunk into ruby_1_9_1.
trivial changes.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
| -rw-r--r-- | test/ruby/test_complex.rb | 2 | ||||
| -rw-r--r-- | test/ruby/test_rational.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb index 5a092c292..2a193eb15 100644 --- a/test/ruby/test_complex.rb +++ b/test/ruby/test_complex.rb @@ -9,7 +9,7 @@ class Complex_Test < Test::Unit::TestCase if @rational @keiju = Rational.instance_variable_get('@RCS_ID') end - @unify = defined?(Complex::Unify) + @unify = $".grep(/mathn/).size != 0 end def test_compsub diff --git a/test/ruby/test_rational.rb b/test/ruby/test_rational.rb index 8b0f057bc..5758749d5 100644 --- a/test/ruby/test_rational.rb +++ b/test/ruby/test_rational.rb @@ -9,7 +9,7 @@ class Rational_Test < Test::Unit::TestCase if @complex @keiju = Complex.instance_variable_get('@RCS_ID') end - @unify = defined?(Rational::Unify) + @unify = $".grep(/mathn/).size != 0 end def test_ratsub |
