summaryrefslogtreecommitdiff
path: root/test/open-uri/test_open-uri.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-12 16:33:44 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-12 16:33:44 +0000
commit945b604e3adc16aaf421a6df80d40a00a70a9226 (patch)
tree62449d9c945a15d9f5e1a47d89ad4058c6af299f /test/open-uri/test_open-uri.rb
parent0466f33486635fe69c9ce1eeb900079bf0a3c0a4 (diff)
extra commas removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/open-uri/test_open-uri.rb')
-rw-r--r--test/open-uri/test_open-uri.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/open-uri/test_open-uri.rb b/test/open-uri/test_open-uri.rb
index 7eb249e914..24e92b3793 100644
--- a/test/open-uri/test_open-uri.rb
+++ b/test/open-uri/test_open-uri.rb
@@ -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])