Skip to content

Commit

Permalink
Fix to failing test: Adjusting the path to progressbar.rb file
Browse files Browse the repository at this point in the history
  • Loading branch information
Laust Rud Jacobsen committed Feb 25, 2010
1 parent e2b1edd commit 0aa81de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def test_inc
end

def test_inc_x
total = File.size("progressbar.rb")
total = File.size("lib/progressbar.rb")
pbar = do_make_progress_bar("test(inc(x))", total)
File.new("progressbar.rb").each {|line|
File.new("lib/progressbar.rb").each {|line|
sleep(SleepUnit)
pbar.inc(line.length)
}
Expand Down

0 comments on commit 0aa81de

Please sign in to comment.