summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_complex.rb4
-rw-r--r--test/ruby/test_rational.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb
index e977e7a058..bfa9859199 100644
--- a/test/ruby/test_complex.rb
+++ b/test/ruby/test_complex.rb
@@ -4,7 +4,7 @@ class ComplexSub < Complex; end
class Complex_Test < Test::Unit::TestCase
- def test_sub
+ def test_compsub
c = ComplexSub.__send__(:new, 1)
cc = ComplexSub.__send__(:convert, 1)
if defined?(ComplexSub::Unify)
@@ -314,7 +314,7 @@ class Complex_Test < Test::Unit::TestCase
end
end
- def test_sub2
+ def test_sub
c = Complex(1,2)
c2 = Complex(2,3)
diff --git a/test/ruby/test_rational.rb b/test/ruby/test_rational.rb
index 3fefa766b1..8062d3fad1 100644
--- a/test/ruby/test_rational.rb
+++ b/test/ruby/test_rational.rb
@@ -4,7 +4,7 @@ class RationalSub < Rational; end
class Rational_Test < Test::Unit::TestCase
- def test_sub
+ def test_ratsub
c = RationalSub.__send__(:new, 1)
cc = RationalSub.__send__(:convert, 1)
if defined?(RationalSub::Unify)