1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-20 12:11:08 +00:00

Fix failing test for sort.

The sorted values were not outputted using a newline.
This commit is contained in:
Joseph Crail 2015-05-05 19:39:30 -04:00
parent 5bdd303d68
commit b809af601a
2 changed files with 13 additions and 13 deletions

View file

@ -152,7 +152,7 @@ fn frac_compare(a: &String, b: &String) -> Ordering {
#[inline(always)]
fn print_sorted<S, T: Iterator<Item=S>>(iter: T) where S: std::fmt::Display {
for line in iter {
print!("{}", line);
println!("{}", line);
}
}