From 3778c127e76dcb257cc2261831f8479b372d0458 Mon Sep 17 00:00:00 2001 From: tadf Date: Mon, 10 Nov 2008 22:59:47 +0000 Subject: trivial changes. git-svn-id: http://svn.ruby-lang.org/repos/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(-) (limited to 'test/ruby') 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 -- cgit