summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2021-01-06 22:09:22 +0100
committersharkdp <davidpeter@web.de>2021-01-06 22:09:22 +0100
commit35e3c51b75c659690276b74cb97fe684a5d34699 (patch)
tree4dc3dc81f1c2daf23d70b3b5c3b6f0c282332443 /tests
parent59c9105c2542f19633eaa8294c2549912d2becca (diff)
Fix unused import warning
Diffstat (limited to 'tests')
-rw-r--r--tests/integration_tests.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs
index e2bd3339..aab2ca84 100644
--- a/tests/integration_tests.rs
+++ b/tests/integration_tests.rs
@@ -5,6 +5,8 @@ use std::fs::File;
use std::path::Path;
use std::process::{Command, Stdio};
use std::str::from_utf8;
+
+#[cfg(unix)]
use std::time::Duration;
const EXAMPLES_DIR: &str = "tests/examples";