mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:42:02 +00:00
Refactor SourceKind
to store file content (#6640)
This commit is contained in:
parent
2aeb27334d
commit
ea72d5feba
17 changed files with 206 additions and 179 deletions
|
@ -445,9 +445,9 @@ mod tests {
|
|||
}
|
||||
|
||||
// Not stored in the cache.
|
||||
expected_diagnostics.source_kind.clear();
|
||||
got_diagnostics.source_kind.clear();
|
||||
assert!(expected_diagnostics == got_diagnostics);
|
||||
expected_diagnostics.notebooks.clear();
|
||||
got_diagnostics.notebooks.clear();
|
||||
assert_eq!(expected_diagnostics, got_diagnostics);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue