summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-26 16:09:14 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-26 16:09:14 +0000
commit2ad123c298f24d1ab02624bd73e25f51f283c2ea (patch)
treeb105c12d52db7d48f9a84fa83118e197ecb0d2ba /test/ruby
parent184e9e9d885a7d83ac0797c466647462008a6f7d (diff)
downloadruby-2ad123c298f24d1ab02624bd73e25f51f283c2ea.tar.gz
use skip
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_complex2.rb2
-rw-r--r--test/ruby/test_complexrational.rb4
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))