summaryrefslogtreecommitdiff
path: root/test/ruby/test_complex.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_complex.rb')
-rw-r--r--test/ruby/test_complex.rb6
1 files changed, 3 insertions, 3 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])