From 69ad92d9cabbe83f3f6fe7ebb936b1d2c317f44b Mon Sep 17 00:00:00 2001 From: tadf Date: Wed, 26 Mar 2008 12:50:21 +0000 Subject: [PATCH] anyway renamed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_complex.rb | 4 ++-- test/ruby/test_rational.rb | 2 +- 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)