From 19321d9e4830ee06d423094e2dbfc0b98cac5b54 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Sat, 2 Nov 2019 09:38:32 -0600 Subject: [PATCH] style: Fix benchmark names --- benches/file.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/benches/file.rs b/benches/file.rs index ab9e21b..b35831e 100644 --- a/benches/file.rs +++ b/benches/file.rs @@ -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); }