summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2013-06-09 04:51:19 +0800
committerDaniel Bovensiepen <[email protected]>2013-06-09 04:51:19 +0800
commitd7deef8a2deeb1e7fa8f4b5f63baa686431af25a (patch)
tree01fc1b014d309dcc4c8dd029bd82cc3f207a4af0 /test
parent01eb9e0e84260d5769ec7d24ecf1fddceb382d51 (diff)
downloadmruby-d7deef8a2deeb1e7fa8f4b5f63baa686431af25a.tar.gz
mruby-d7deef8a2deeb1e7fa8f4b5f63baa686431af25a.zip
Fix Array Tests
Diffstat (limited to 'test')
-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