From 87d451aacdafd89509fb9276245681db91469857 Mon Sep 17 00:00:00 2001 From: yugui Date: Tue, 11 Nov 2008 11:02:32 +0000 Subject: merges r20177 from trunk into ruby_1_9_1. trivial changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_complex.rb | 2 +- test/ruby/test_rational.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby') 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