test: fixed a windows-specific preview command test

This commit is contained in:
2025-09-12 13:24:00 -06:00
parent f46434ca44
commit 24d45ab512
+1 -1
View File
@@ -119,7 +119,7 @@ mod tests {
if cfg!(unix) {
assert_str_eq!(preview, "MY_VAR=my_value echo 'hello world'");
} else if cfg!(windows) {
assert_str_eq!(preview, "set MY_VAR=my_value && \"echo\" \"hello world\"");
assert_str_eq!(preview, "set MY_VAR=my_value && echo \"hello world\"");
}
}
}