From 6a858e554c646c52f05f38b876e97322302c5c3d Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 5 Jul 2007 10:18:53 +0000 Subject: * test/ruby/test_basicinstructions.rb: remove an assertion using unsupported hash literal (such as {1, 2}). * test/ruby/test_hash.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_hash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_hash.rb') diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 35136da57c..b23552aeae 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -4,7 +4,7 @@ class TestHash < Test::Unit::TestCase def test_hash x = {1=>2, 2=>4, 3=>6} - y = {1, 2, 2, 4, 3, 6} + y = {1=>2, 2=>4, 3=>6} # y = {1, 2, 2, 4, 3, 6} # 1.9 doesn't support assert_equal(2, x[1]) -- cgit v1.2.3