summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-08 13:18:47 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-08 13:18:47 +0000
commit10c4a861ebcbf0190beaca91c015126b851e5023 (patch)
tree7dac9e4d82fafa7f0fc63ca4ffaab8e3063ed14d /test/ruby
parente2ab17e8816fb3a13b5e47eb7842961b45672e0d (diff)
* test/ruby/test_{complex2,complexrational}.rb: use skip.
* test/date/*.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_complex2.rb3
-rw-r--r--test/ruby/test_complexrational.rb3
2 files changed, 2 insertions, 4 deletions
diff --git a/test/ruby/test_complex2.rb b/test/ruby/test_complex2.rb
index be30a42596..3ee7810dc6 100644
--- a/test/ruby/test_complex2.rb
+++ b/test/ruby/test_complex2.rb
@@ -3,8 +3,7 @@ require 'test/unit'
class Complex_Test2 < Test::Unit::TestCase
def test_kumi
- return
-# skip 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 ccbba288c7..99f54e4e97 100644
--- a/test/ruby/test_complexrational.rb
+++ b/test/ruby/test_complexrational.rb
@@ -3,8 +3,7 @@ require 'test/unit'
class ComplexRational_Test < Test::Unit::TestCase
def test_rat_srat
- return
-# skip unless defined?(Rational)
+ skip unless defined?(Rational)
c = SimpleRat(1,3)
cc = Rational(3,2)