diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-07 10:05:14 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-07 10:05:14 +0000 |
commit | c77cd2c11b5ef210cb4f16856976643c346cf097 (patch) | |
tree | 37caaaa9819249e2e50fcc60de682295dc29f6fe /test/ruby | |
parent | 8376d7cca025c1ff908c846adafc0ad00a08b78d (diff) | |
download | ruby-c77cd2c11b5ef210cb4f16856976643c346cf097.tar.gz |
removed extra spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_complex.rb | 6 | ||||
-rw-r--r-- | test/ruby/test_rational.rb | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb index d5a8a18524..74d6d5dd8a 100644 --- a/test/ruby/test_complex.rb +++ b/test/ruby/test_complex.rb @@ -824,13 +824,13 @@ class Complex_Test < Test::Unit::TestCase def test_to_c c = nil.to_c - assert_equal([0,0] , [c.real, c.imag]) + assert_equal([0,0], [c.real, c.imag]) c = 0.to_c - assert_equal([0,0] , [c.real, c.imag]) + assert_equal([0,0], [c.real, c.imag]) c = 1.to_c - assert_equal([1,0] , [c.real, c.imag]) + assert_equal([1,0], [c.real, c.imag]) c = 1.1.to_c assert_equal([1.1, 0], [c.real, c.imag]) diff --git a/test/ruby/test_rational.rb b/test/ruby/test_rational.rb index 703d56a2ab..cb7b58b417 100644 --- a/test/ruby/test_rational.rb +++ b/test/ruby/test_rational.rb @@ -920,20 +920,20 @@ class Rational_Test < Test::Unit::TestCase def test_to_r c = nil.to_r - assert_equal([0,1] , [c.numerator, c.denominator]) + assert_equal([0,1], [c.numerator, c.denominator]) c = 0.to_r - assert_equal([0,1] , [c.numerator, c.denominator]) + assert_equal([0,1], [c.numerator, c.denominator]) c = 1.to_r - assert_equal([1,1] , [c.numerator, c.denominator]) + assert_equal([1,1], [c.numerator, c.denominator]) c = 1.1.to_r assert_equal([2476979795053773, 2251799813685248], [c.numerator, c.denominator]) c = Rational(1,2).to_r - assert_equal([1,2] , [c.numerator, c.denominator]) + assert_equal([1,2], [c.numerator, c.denominator]) if @complex if @keiju |