Skip to content

Commit

Permalink
test update for 1.9 support. (not yet completed)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshi Nakamura committed Dec 12, 2010
1 parent acab181 commit f4f6d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_httpclient.rb
Expand Up @@ -594,7 +594,7 @@ def test_post_with_file
STDOUT.sync = true
File.open(__FILE__) do |file|
res = @client.post(@url + 'servlet', {1=>2, 3=>file})
assert_match(/^Content-Disposition: form-data; name="1"\r\n/m, res.content)
assert_match(/^Content-Disposition: form-data; name="1"\r\n/nm, res.content)
assert_match(/^Content-Disposition: form-data; name="3";/, res.content)
# FIND_TAG_IN_THIS_FILE
assert_match(/FIND_TAG_IN_THIS_FILE/, res.content)
Expand Down

0 comments on commit f4f6d9a

Please sign in to comment.