on master help sign in
Fix clippy warnings in tests on Windows
commit59c9105c2542f19633eaa8294c2549912d2becca authorsharkdp <davidpeter@web.de> dateWed 6 Jan 2021, 20:09 (6 years ago) parentb458292
1 file changed+4
tests/integration_tests.rs+4
tests/integration_tests.rs+4
@@ -8,7 +8,11 @@ use std::str::from_utf8;
88use std::time::Duration;
99
1010const EXAMPLES_DIR: &str = "tests/examples";
11+
12+#[cfg(unix)]
1113const SAFE_CHILD_PROCESS_CREATION_TIME: Duration = Duration::from_millis(100);
14+
15+#[cfg(unix)]
1216const CHILD_WAIT_TIMEOUT: Duration = Duration::from_secs(15);
1317
1418fn bat_raw_command() -> Command {