From 524c766d19a7a893cd644866439fde5448a24a4e Mon Sep 17 00:00:00 2001 From: tadf Date: Mon, 10 Nov 2008 22:59:47 +0000 Subject: trivial changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_complex.rb | 2 +- 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 5a092c2924..2a193eb155 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 8b0f057bc9..5758749d5e 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 -- cgit v1.2.3