Skip to content

Commit

Permalink
make the tests work on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
lenawanel committed Sep 2, 2023
1 parent 2b6a4cc commit 577dc58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tinyinst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ mod tests {

#[cfg(target_os = "windows")]
const TEST_FILENAME: &str = "test.exe";
#[cfg(target_vendor = "apple")]
#[cfg(any(target_vendor = "apple", target_os = "linux"))]
const TEST_FILENAME: &str = "test";

#[cfg(target_vendor = "apple")]
#[cfg(any(target_vendor = "apple", target_os = "linux"))]
const TEST_PATH: &str = "test/build/";
#[cfg(target_os = "windows")]
const TEST_PATH: &str = "test/build/Debug/";
Expand Down

0 comments on commit 577dc58

Please sign in to comment.