mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:22:24 +00:00
[red-knot] Use Unknown
rather than Unbound
for unresolved imports (#12932)
This commit is contained in:
parent
d61d75d4fa
commit
a9847af6e8
4 changed files with 44 additions and 11 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(), 29);
|
||||
assert_eq!(result.len(), 34);
|
||||
},
|
||||
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(), 29);
|
||||
assert_eq!(result.len(), 34);
|
||||
},
|
||||
BatchSize::SmallInput,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue