We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df006e0 commit be843f2Copy full SHA for be843f2
components/clarinet-format/benches/formatter.rs
@@ -33,7 +33,7 @@ mod format_benches {
33
bencher.bench_local(|| {
34
for file_path in &files {
35
let source = fs::read_to_string(file_path).expect("Failed to read test file");
36
- black_box(formatter.format(black_box(&source)));
+ black_box(formatter.format(black_box(&source), None));
37
}
38
});
39
@@ -45,7 +45,7 @@ mod format_benches {
45
let source = fs::read_to_string("tests/golden/clarity-bitcoin.clar")
46
.expect("Failed to read test file");
47
48
- bencher.bench_local(|| black_box(formatter.format(black_box(&source))));
+ bencher.bench_local(|| black_box(formatter.format(black_box(&source), None)));
49
50
51
0 commit comments