mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
[red-knot] Add support for relative imports (#12910)
Co-authored-by: Carl Meyer <carl@astral.sh>
This commit is contained in:
parent
9b73532b11
commit
a87b27c075
5 changed files with 230 additions and 15 deletions
|
@ -89,7 +89,7 @@ fn benchmark_incremental(criterion: &mut Criterion) {
|
|||
let Case { db, parser, .. } = case;
|
||||
let result = db.check_file(*parser).unwrap();
|
||||
|
||||
assert_eq!(result.len(), 111);
|
||||
assert_eq!(result.len(), 29);
|
||||
},
|
||||
BatchSize::SmallInput,
|
||||
);
|
||||
|
@ -104,7 +104,7 @@ fn benchmark_cold(criterion: &mut Criterion) {
|
|||
let Case { db, parser, .. } = case;
|
||||
let result = db.check_file(*parser).unwrap();
|
||||
|
||||
assert_eq!(result.len(), 111);
|
||||
assert_eq!(result.len(), 29);
|
||||
},
|
||||
BatchSize::SmallInput,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue