Skip to content

Commit 44c058b

Browse files
committed
Module *name*
1 parent c7d0688 commit 44c058b

File tree

1 file changed

+2
-2
lines changed
  • crates/red_knot_test/src

1 file changed

+2
-2
lines changed

crates/red_knot_test/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ fn run_test(db: &mut db::Db, test: &parser::MarkdownTest) -> Result<(), Failures
148148
.iter()
149149
.fold(String::new(), |mut content, path| {
150150
// This is intentionally kept simple:
151-
let module_path = path
151+
let module_name = path
152152
.as_str()
153153
.trim_end_matches(".pyi")
154154
.trim_end_matches("/__init__")
155155
.replace('/', ".");
156-
let _ = writeln!(content, "{module_path}: 3.8-");
156+
let _ = writeln!(content, "{module_name}: 3.8-");
157157
content
158158
});
159159
db.write_file(&versions_file, contents).unwrap();

0 commit comments

Comments
 (0)