summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/t/array.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/t/array.rb b/test/t/array.rb
index 840f7653b..9878e2cbf 100644
--- a/test/t/array.rb
+++ b/test/t/array.rb
@@ -293,9 +293,9 @@ assert('Array#<=>', '15.2.12.5.36') do
r2 = [ 1, 2, 3, 4, 5, 6 ] <=> [ 1, 2 ] #=> +1
r3 = [ "a", "b", "c" ] <=> [ "a", "b", "c" ] #=> 0
- assert_equal(r1 == -1)
- assert_equal(r2 == +1)
- assert_equal(r3 == 0)
+ assert_equal(r1, -1)
+ assert_equal(r2, +1)
+ assert_equal(r3, 0)
end
# Not ISO specified