mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-22 15:42:23 -05:00
style: Fix benchmark names
This commit is contained in:
parent
107308a655
commit
19321d9e48
1 changed files with 6 additions and 6 deletions
|
@ -52,32 +52,32 @@ fn bench_split_lines(data: &str, b: &mut test::Bencher) {
|
|||
}
|
||||
|
||||
#[bench]
|
||||
fn parse_words_lines_empty(b: &mut test::Bencher) {
|
||||
fn parse_lines_empty(b: &mut test::Bencher) {
|
||||
bench_split_lines(data::EMPTY, b);
|
||||
}
|
||||
|
||||
#[bench]
|
||||
fn parse_words_lines_no_tokens(b: &mut test::Bencher) {
|
||||
fn parse_lines_no_tokens(b: &mut test::Bencher) {
|
||||
bench_split_lines(data::NO_TOKENS, b);
|
||||
}
|
||||
|
||||
#[bench]
|
||||
fn parse_words_lines_single_token(b: &mut test::Bencher) {
|
||||
fn parse_lines_single_token(b: &mut test::Bencher) {
|
||||
bench_split_lines(data::SINGLE_TOKEN, b);
|
||||
}
|
||||
|
||||
#[bench]
|
||||
fn parse_words_lines_sherlock(b: &mut test::Bencher) {
|
||||
fn parse_lines_sherlock(b: &mut test::Bencher) {
|
||||
bench_split_lines(data::SHERLOCK, b);
|
||||
}
|
||||
|
||||
#[bench]
|
||||
fn parse_words_lines_code(b: &mut test::Bencher) {
|
||||
fn parse_lines_code(b: &mut test::Bencher) {
|
||||
bench_split_lines(data::CODE, b);
|
||||
}
|
||||
|
||||
#[bench]
|
||||
fn parse_words_lines_corpus(b: &mut test::Bencher) {
|
||||
fn parse_lines_corpus(b: &mut test::Bencher) {
|
||||
bench_split_lines(data::CORPUS, b);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue