We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0722db commit adab6a2Copy full SHA for adab6a2
server/src/webserver/vscode.rs
@@ -988,7 +988,9 @@ mod test {
988
open_client(&mut ws_ide).await;
989
990
let file_path = test_dir.join("test.py");
991
- let file_path_str = file_path.to_str().unwrap().to_string();
+ // Force the path separator to be Window-style for this test, even on
992
+ // non-Windows platforms.
993
+ let file_path_str = file_path.to_str().unwrap().to_string().replace("/", "\\");
994
995
// Do this is a thread, since the request generates a message that
996
// requires a response in order to complete.
0 commit comments