summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2021-01-06 20:09:01 +0100
committerDavid Peter <sharkdp@users.noreply.github.com>2021-01-06 22:08:14 +0100
commit59c9105c2542f19633eaa8294c2549912d2becca (patch)
treef3a95640fffda4742f06f3cde18639b1d2bbf637 /tests
parentb458292a69bf21b90d7646bf22fb40cdac9a28f8 (diff)
Fix clippy warnings in tests on Windows
Diffstat (limited to 'tests')
-rw-r--r--tests/integration_tests.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs
index 7ab99bb2..e2bd3339 100644
--- a/tests/integration_tests.rs
+++ b/tests/integration_tests.rs
@@ -8,7 +8,11 @@ use std::str::from_utf8;
use std::time::Duration;
const EXAMPLES_DIR: &str = "tests/examples";
+
+#[cfg(unix)]
const SAFE_CHILD_PROCESS_CREATION_TIME: Duration = Duration::from_millis(100);
+
+#[cfg(unix)]
const CHILD_WAIT_TIMEOUT: Duration = Duration::from_secs(15);
fn bat_raw_command() -> Command {