test: fixed a windows-specific preview command test

This commit is contained in:
Dark-Alex-17 committed 2025-09-12 13:24:00 -06:00
1 parent f46434ca44
commit 24d45ab512
1 file changed
+1 -1
+1 -1
View File
@@ -119,7 +119,7 @@ mod tests {
if cfg!(unix) { if cfg!(unix) {
assert_str_eq!(preview, "MY_VAR=my_value echo 'hello world'"); assert_str_eq!(preview, "MY_VAR=my_value echo 'hello world'");
} else if cfg!(windows) { } 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\"");
} }
} }
} }