From 3300d80e3ffacf279748cc077b0bebb2688f48b6 Mon Sep 17 00:00:00 2001 From: Jan Scheer Date: Sat, 25 Sep 2021 11:02:49 +0200 Subject: [PATCH] tests: silence clippy warnings for unused_imports --- tests/test_util_name.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_util_name.rs b/tests/test_util_name.rs index b0a78a2e8..76b6f4728 100644 --- a/tests/test_util_name.rs +++ b/tests/test_util_name.rs @@ -1,3 +1,4 @@ +#![allow(unused_imports)] mod common; use common::util::TestScenario; @@ -25,6 +26,7 @@ fn execution_phrase_double() { #[test] #[cfg(feature = "ls")] +#[cfg(any(unix, windows))] fn execution_phrase_single() { use std::process::Command; @@ -63,6 +65,7 @@ fn util_name_double() { #[test] #[cfg(feature = "sort")] +#[cfg(any(unix, windows))] fn util_name_single() { use std::{ io::Write,