Skip to content

Commit

Permalink
bench(parse): Don't dump content
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Mar 6, 2023
1 parent 88cb4be commit 28bf7e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions crates/anstyle-parse/benches/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ fn parse(c: &mut Criterion) {
for byte in content.as_bytes() {
parser.advance(&mut stripped, *byte);
}
std::fs::write(format!("{}.advance", name), &stripped.0).unwrap();
std::fs::write(format!("{}.state_change", name), strip_str(content)).unwrap();
assert_eq!(stripped.0, strip_str(content));
}

Expand Down

0 comments on commit 28bf7e4

Please sign in to comment.