Skip to content

Commit

Permalink
cargo fmt for compare crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingun committed Jul 10, 2022
1 parent e8ecc12 commit dd66f69
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions compare/benches/bench.rs
Expand Up @@ -25,7 +25,10 @@ fn low_level_comparison(c: &mut Criterion) {
}
buf.clear();
}
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
assert_eq!(
count, 1550,
"Overall tag count in ./tests/documents/sample_rss.xml"
);
})
});

Expand All @@ -49,7 +52,10 @@ fn low_level_comparison(c: &mut Criterion) {
}
input = &input[consumed..];
}
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
assert_eq!(
count, 1550,
"Overall tag count in ./tests/documents/sample_rss.xml"
);
})
});

Expand All @@ -68,7 +74,10 @@ fn low_level_comparison(c: &mut Criterion) {
_ => (),
}
}
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
assert_eq!(
count, 1550,
"Overall tag count in ./tests/documents/sample_rss.xml"
);
})
});

Expand All @@ -83,7 +92,10 @@ fn low_level_comparison(c: &mut Criterion) {
_ => (),
}
}
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
assert_eq!(
count, 1550,
"Overall tag count in ./tests/documents/sample_rss.xml"
);
})
});

Expand All @@ -101,7 +113,10 @@ fn low_level_comparison(c: &mut Criterion) {
_ => (),
}
}
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
assert_eq!(
count, 1550,
"Overall tag count in ./tests/documents/sample_rss.xml"
);
})
});

Expand Down Expand Up @@ -166,7 +181,10 @@ fn low_level_comparison(c: &mut Criterion) {
count += 1;
}
}
assert_eq!(count, 1550, "Overall tag count in ./tests/documents/sample_rss.xml");
assert_eq!(
count, 1550,
"Overall tag count in ./tests/documents/sample_rss.xml"
);
})
});
group.finish();
Expand Down

0 comments on commit dd66f69

Please sign in to comment.