From 27362b1a6ead4af4c2e2cab5fe74b6fff4689234 Mon Sep 17 00:00:00 2001 From: tadf Date: Wed, 26 Mar 2008 12:50:21 +0000 Subject: anyway renamed. git-svn-id: http://svn.ruby-lang.org/repos/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(-) (limited to 'test/ruby') diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb index e977e7a05..bfa985919 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 3fefa766b..8062d3fad 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) -- cgit