1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-18 20:11:03 +00:00

Fix clippy warnings in tests on Windows

This commit is contained in:
sharkdp 2021-01-06 20:09:01 +01:00 committed by David Peter
parent b458292a69
commit 59c9105c25

View File

@ -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 {