diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_complex2.rb | 3 | ||||
-rw-r--r-- | test/ruby/test_complexrational.rb | 3 |
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) |