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

extra commas removed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-09-12 16:33:44 +00:00
parent 0466f33486
commit 945b604e3a

View file

@ -328,7 +328,7 @@ class TestOpenURI < Test::Unit::TestCase
progress = [] progress = []
open("#{url}/data/", open("#{url}/data/",
:content_length_proc => lambda {|n| length << n }, :content_length_proc => lambda {|n| length << n },
:progress_proc => lambda {|n| progress << n }, :progress_proc => lambda {|n| progress << n }
) {|f| ) {|f|
assert_equal(1, length.length) assert_equal(1, length.length)
assert_equal(content.length, length[0]) assert_equal(content.length, length[0])
@ -346,7 +346,7 @@ class TestOpenURI < Test::Unit::TestCase
progress = [] progress = []
open("#{url}/data/", open("#{url}/data/",
:content_length_proc => lambda {|n| length << n }, :content_length_proc => lambda {|n| length << n },
:progress_proc => lambda {|n| progress << n }, :progress_proc => lambda {|n| progress << n }
) {|f| ) {|f|
assert_equal(1, length.length) assert_equal(1, length.length)
assert_equal(nil, length[0]) assert_equal(nil, length[0])