summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_complex.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_complex.rb')
-rw-r--r--test/ruby/test_complex.rb2
1 files changed, 1 insertions, 1 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