Skip to content

Commit

Permalink
Update crates/red_knot_module_resolver/src/resolver.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Micha Reiser <micha@reiser.io>
  • Loading branch information
AlexWaygood and MichaReiser committed Jul 15, 2024
1 parent 388fdca commit 1c267b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/red_knot_module_resolver/src/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,8 @@ mod tests {
let foo_bar_module = resolve_module(&db, foo_bar_module_name.clone()).unwrap();

assert_eq!(
Some(foo_module.file()),
system_path_to_file(&db, SystemPathBuf::from("/x/src/foo/__init__.py"))
foo_module.file().path,
FilePath::System(SystemPathBuf::from("/x/src/foo/__init__.py"))
);
assert_eq!(
Some(foo_bar_module.file()),
Expand Down

0 comments on commit 1c267b5

Please sign in to comment.