windows: Fix tests (#26450)

Closes #ISSUE

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
张小白 2025-03-11 19:43:24 +08:00 committed by GitHub
parent f59f2caf7e
commit 1cfbfc199c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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