Skip to content

Commit 1c7b840

Browse files
authored
[red-knot] fix incremental benchmark (#12400)
We should write `BAR_CODE` to `bar.py`, not to `foo.py`.
1 parent f82bb67 commit 1c7b840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff_benchmark/benches/red_knot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ fn benchmark_incremental(criterion: &mut Criterion) {
137137

138138
case.fs
139139
.write_file(
140-
SystemPath::new("/src/foo.py"),
140+
SystemPath::new("/src/bar.py"),
141141
format!("{BAR_CODE}\n# A comment\n"),
142142
)
143143
.unwrap();

0 commit comments

Comments
 (0)