Skip to content

Commit 762c281

Browse files
address feedback
1 parent 8839461 commit 762c281

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vm/src/obj/objstr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ mod tests {
10381038
("Greek Ωppercases ...", "greek ωppercases ..."),
10391039
];
10401040
for (title, input) in tests {
1041-
assert_eq!(PyString::from(input).title(&vm), String::from(title));
1041+
assert_eq!(PyString::from(input).title(&vm).as_str(), title);
10421042
}
10431043
}
10441044

0 commit comments

Comments
 (0)