summaryrefslogtreecommitdiffhomepage
path: root/test/t/syntax.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2015-05-31 18:29:26 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2015-05-31 18:29:26 +0900
commit9ef4bbb10d827fb41edc8c2984e0b80fcdbea900 (patch)
tree924102363559d86e89322c9e05aa415e670641d0 /test/t/syntax.rb
parent8dd6b0fd09eb057d51192da634ecddfee9154d89 (diff)
downloadmruby-9ef4bbb10d827fb41edc8c2984e0b80fcdbea900.tar.gz
mruby-9ef4bbb10d827fb41edc8c2984e0b80fcdbea900.zip
update test/t/syntax.rb to success on CRuby
Diffstat (limited to 'test/t/syntax.rb')
-rw-r--r--test/t/syntax.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/syntax.rb b/test/t/syntax.rb
index 41e49d938..070fcbe3b 100644
--- a/test/t/syntax.rb
+++ b/test/t/syntax.rb
@@ -229,9 +229,9 @@ assert('multiple assignment (rest+post)') do
*c, d = 3
assert_equal [0, 1], a
- assert_equal [2], b
+ assert_equal 2, b
assert_equal [], c
- assert_equal [3], d
+ assert_equal 3, d
end
assert('Return values of case statements') do