Skip to content

Commit 538d925

Browse files
committed
Fix post-execution path checks to be compatible with Windows
1 parent bb37542 commit 538d925

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/testsuite/install.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,10 @@ fn install_target_dir() {
330330
path.push("td_test");
331331
assert!(path.exists());
332332

333+
#[cfg(not(windows))]
333334
path.push("release/foo");
335+
#[cfg(windows)]
336+
path.push("release/foo.exe");
334337
assert!(path.exists());
335338
}
336339

0 commit comments

Comments
 (0)