Skip to content

Commit

Permalink
Fix post-execution path checks to be compatible with Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bl2e committed Jun 21, 2020
1 parent bb37542 commit 538d925
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testsuite/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,10 @@ fn install_target_dir() {
path.push("td_test");
assert!(path.exists());

#[cfg(not(windows))]
path.push("release/foo");
#[cfg(windows)]
path.push("release/foo.exe");
assert!(path.exists());
}

Expand Down

0 comments on commit 538d925

Please sign in to comment.