Skip to content

Commit 08be875

Browse files
committed
Update comment in salsa test
1 parent 28aa7f1 commit 08be875

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/ty_python_semantic/src/types

crates/ty_python_semantic/src/types/infer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10946,7 +10946,7 @@ mod tests {
1094610946
let attr_ty = global_symbol(&db, file_main, "x").place.expect_type();
1094710947
assert_eq!(attr_ty.display(&db).to_string(), "Unknown | int");
1094810948

10949-
// Change the type of `attr` to `str | None`; this should trigger the type of `x` to be re-inferred
10949+
// Change the type of `class_attr` to `str`; this should trigger the type of `x` to be re-inferred
1095010950
db.write_dedented(
1095110951
"/src/mod.py",
1095210952
r#"

0 commit comments

Comments
 (0)