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:
parent
0466f33486
commit
945b604e3a
1 changed files with 2 additions and 2 deletions
|
@ -328,7 +328,7 @@ class TestOpenURI < Test::Unit::TestCase
|
|||
progress = []
|
||||
open("#{url}/data/",
|
||||
:content_length_proc => lambda {|n| length << n },
|
||||
:progress_proc => lambda {|n| progress << n },
|
||||
:progress_proc => lambda {|n| progress << n }
|
||||
) {|f|
|
||||
assert_equal(1, length.length)
|
||||
assert_equal(content.length, length[0])
|
||||
|
@ -346,7 +346,7 @@ class TestOpenURI < Test::Unit::TestCase
|
|||
progress = []
|
||||
open("#{url}/data/",
|
||||
:content_length_proc => lambda {|n| length << n },
|
||||
:progress_proc => lambda {|n| progress << n },
|
||||
:progress_proc => lambda {|n| progress << n }
|
||||
) {|f|
|
||||
assert_equal(1, length.length)
|
||||
assert_equal(nil, length[0])
|
||||
|
|
Loading…
Reference in a new issue