From 2ad123c298f24d1ab02624bd73e25f51f283c2ea Mon Sep 17 00:00:00 2001 From: tadf Date: Tue, 26 Apr 2011 16:09:14 +0000 Subject: [PATCH] use skip git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_complex2.rb | 2 +- test/ruby/test_complexrational.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ruby/test_complex2.rb b/test/ruby/test_complex2.rb index 4e960c3e36..3ee7810dc6 100644 --- a/test/ruby/test_complex2.rb +++ b/test/ruby/test_complex2.rb @@ -3,7 +3,7 @@ require 'test/unit' class Complex_Test2 < Test::Unit::TestCase def test_kumi - return unless defined?(Rational) + skip unless defined?(Rational) assert_equal(Complex(1, 0), +Complex(1, 0)) assert_equal(Complex(-1, 0), -Complex(1, 0)) diff --git a/test/ruby/test_complexrational.rb b/test/ruby/test_complexrational.rb index 47c535fca0..99f54e4e97 100644 --- a/test/ruby/test_complexrational.rb +++ b/test/ruby/test_complexrational.rb @@ -3,7 +3,7 @@ require 'test/unit' class ComplexRational_Test < Test::Unit::TestCase def test_rat_srat - return unless defined?(Rational) + skip unless defined?(Rational) c = SimpleRat(1,3) cc = Rational(3,2) @@ -88,7 +88,7 @@ class ComplexRational_Test < Test::Unit::TestCase end def test_comp_srat - return unless defined?(Rational) + skip unless defined?(Rational) c = Complex(SimpleRat(2,3),SimpleRat(1,2)) cc = Complex(Rational(3,2),Rational(2,1))