Skip to content

Commit 4135031

Browse files
committed
Fix: Correct string replacement syntax for path normalization in SQLite tests
1 parent 1ccdaf3 commit 4135031

File tree

1 file changed

+1
-1
lines changed
  • sqlx-core/src/sqlite/testing

1 file changed

+1
-1
lines changed

sqlx-core/src/sqlite/testing/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fn convert_path(test_path: &str) -> String {
7272
.into_os_string()
7373
.into_string()
7474
.expect("path should be UTF-8");
75-
s.replace('\\', '/')
75+
s.replace("\\", "/")
7676
}
7777

7878
#[test]

0 commit comments

Comments
 (0)