Fix Windows test failures not being detected in CI (#36446)
Bug introduced in #35926 Release Notes: - N/A
This commit is contained in:
parent
6c255c1973
commit
1444cd9839
6 changed files with 87 additions and 114 deletions
|
@ -2155,7 +2155,7 @@ mod tests {
|
|||
"}
|
||||
);
|
||||
});
|
||||
assert_eq!(fs.files(), vec![Path::new("/test/file-0")]);
|
||||
assert_eq!(fs.files(), vec![Path::new(path!("/test/file-0"))]);
|
||||
|
||||
cx.update(|cx| thread.update(cx, |thread, cx| thread.send(vec!["ipsum".into()], cx)))
|
||||
.await
|
||||
|
@ -2185,7 +2185,10 @@ mod tests {
|
|||
});
|
||||
assert_eq!(
|
||||
fs.files(),
|
||||
vec![Path::new("/test/file-0"), Path::new("/test/file-1")]
|
||||
vec![
|
||||
Path::new(path!("/test/file-0")),
|
||||
Path::new(path!("/test/file-1"))
|
||||
]
|
||||
);
|
||||
|
||||
// Checkpoint isn't stored when there are no changes.
|
||||
|
@ -2226,7 +2229,10 @@ mod tests {
|
|||
});
|
||||
assert_eq!(
|
||||
fs.files(),
|
||||
vec![Path::new("/test/file-0"), Path::new("/test/file-1")]
|
||||
vec![
|
||||
Path::new(path!("/test/file-0")),
|
||||
Path::new(path!("/test/file-1"))
|
||||
]
|
||||
);
|
||||
|
||||
// Rewinding the conversation truncates the history and restores the checkpoint.
|
||||
|
@ -2254,7 +2260,7 @@ mod tests {
|
|||
"}
|
||||
);
|
||||
});
|
||||
assert_eq!(fs.files(), vec![Path::new("/test/file-0")]);
|
||||
assert_eq!(fs.files(), vec![Path::new(path!("/test/file-0"))]);
|
||||
}
|
||||
|
||||
async fn run_until_first_tool_call(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue