Skip to content

Commit

Permalink
Don't set unused variable to remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain committed Feb 4, 2011
1 parent 104cd5f commit 8a70fed
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/rubygems/test_gem_silent_ui.rb
Expand Up @@ -88,7 +88,6 @@ def test_choose_from_list
end

def test_progress_reporter
value = nil
out, err = capture_io do
use_ui @sui do
@sui.progress_reporter 10, 'hi'
Expand All @@ -100,7 +99,6 @@ def test_progress_reporter
end

def test_download_reporter
value = nil
out, err = capture_io do
use_ui @sui do
@sui.download_reporter.fetch 'a.gem', 1024
Expand Down

0 comments on commit 8a70fed

Please sign in to comment.