summaryrefslogtreecommitdiff
path: root/test/ruby/test_hash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_hash.rb')
-rw-r--r--test/ruby/test_hash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb
index ff6c383dbd..9c2978cd8a 100644
--- a/test/ruby/test_hash.rb
+++ b/test/ruby/test_hash.rb
@@ -794,7 +794,7 @@ class TestHash < Test::Unit::TestCase
end
def test_flatten
- assert_equal([1, 2], {[1] => [2]}.flatten)
+ assert_equal([[1], [2]], {[1] => [2]}.flatten)
end
def test_callcc