1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ko1 2007-07-05 10:18:53 +00:00
parent 92818d7eb6
commit 6a858e554c
3 changed files with 9 additions and 2 deletions

View file

@ -114,7 +114,7 @@ class TestBasicInstructions < Test::Unit::TestCase
assert_equal({1=>2}, {1=>2})
assert_equal({1=>2, 3=>4}, {1=>2, 3=>4})
assert_equal({1=>2, 3=>4}, {3=>4, 1=>2})
assert_equal({1=>2, 3=>4}, {1,2, 3,4})
# assert_equal({1=>2, 3=>4}, {1,2, 3,4}) # 1.9 doesn't support
assert_equal({"key"=>"val"}, {"key"=>"val"})
end