Skip to content

Commit

Permalink
fix tests to follow the finish api
Browse files Browse the repository at this point in the history
  • Loading branch information
a8m committed Oct 27, 2016
1 parent 1affc59 commit f8144c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn simple_example() {
pb.inc();
thread::sleep(Duration::from_millis(5));
}
pb.finish_print("done!");
pb.finish_println("done!");
}

#[test]
Expand All @@ -26,7 +26,7 @@ fn custom_width_example() {
pb.inc();
thread::sleep(Duration::from_millis(5));
}
pb.finish_print("done!");
pb.finish_println("done!");
}

#[test]
Expand Down Expand Up @@ -60,7 +60,7 @@ fn timeout_example() {
thread::sleep(Duration::from_millis(50));
pb.tick();
}
pb.finish_print("done!");
pb.finish_println("done!");
}


Expand Down Expand Up @@ -105,5 +105,5 @@ fn npm_bar() {
pb.inc();
}
}
pb.finish_print("done!");
pb.finish_println("done!");
}

0 comments on commit f8144c7

Please sign in to comment.