Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

windows: Fix tests (#26450)

张小白1cfbfc199cee
diff --git a/crates/scripting_tool/src/scripting_session.rs b/crates/scripting_tool/src/scripting_session.rs
index 027bdd79329..50e55b7b1af 100644
--- a/crates/scripting_tool/src/scripting_session.rs
+++ b/crates/scripting_tool/src/scripting_session.rs
@@ -934,7 +934,10 @@ mod tests {
let test_session = TestSession::init(cx).await;
let output = test_session.test_success(script, cx).await;
- assert_eq!(output, "File: /file1.txt\nMatches:\n world\n");
+ assert_eq!(
+ output,
+ concat!("File: ", path!("/file1.txt"), "\nMatches:\n world\n")
+ );
}
// io.open