Skip to content

Commit

Permalink
fix: add the missing parenthesis to benchmark names (#838)
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 authored Feb 14, 2023
1 parent a6e7915 commit d13f496
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/criterion_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ fn build_bench_strings() -> Vec<(String, String)> {
let file_no_extension = String::from(*filename);
let file_extension = String::from(".json");
let bench_path = String::from(BENCH_PATH);
let cairo_call = String::from("cairo_run(");
let full_file_path = bench_path + &file_no_extension + &file_extension;
full_string.push((cairo_call + &full_file_path.clone(), full_file_path));
let cairo_call = format!("cairo_run({})", &full_file_path);
full_string.push((cairo_call, full_file_path));
}

full_string
Expand Down

0 comments on commit d13f496

Please sign in to comment.