diff options
Diffstat (limited to 'tests/arg_tests.rs')
-rw-r--r-- | tests/arg_tests.rs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/arg_tests.rs b/tests/arg_tests.rs index c586a798..134d9615 100644 --- a/tests/arg_tests.rs +++ b/tests/arg_tests.rs @@ -7,16 +7,7 @@ use std::process::Command; //======================RATES======================// fn get_binary_location() -> String { - // env!("CARGO_BIN_EXE_btm").to_string() - if cfg!(target_os = "linux") { - "./target/x86_64-unknown-linux-gnu/debug/btm".to_string() - } else if cfg!(target_os = "windows") { - "./target/x86_64-pc-windows-msvc/debug/btm".to_string() - } else if cfg!(target_os = "macos") { - "./target/x86_64-apple-darwin/debug/btm".to_string() - } else { - "".to_string() - } + env!("CARGO_BIN_EXE_btm").to_string() } #[test] |