Skip to content

Commit

Permalink
Avoid Hash order dependency
Browse files Browse the repository at this point in the history
Test failure in cf6bd14. Thanks
BuildHive and TravisCI!
  • Loading branch information
Hiroshi Nakamura committed Aug 11, 2012
1 parent cf6bd14 commit f4711a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_httpclient.rb
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ def test_delete_with_body
param = {'1'=>'2', '3'=>'4'}
@client.debug_dev = str = ''
assert_equal("delete", @client.delete(serverurl + 'servlet', param).content)
assert_match(/1=2&3=4/, str)
assert_equal({'1' => ['2'], '3' => ['4']}, HTTP::Message.parse(str.split(/\r?\n\r?\n/)[2]))
end

def test_delete_async
Expand Down

0 comments on commit f4711a4

Please sign in to comment.