From 799bb1639c7b02267c3669113bba9d5257c8a80a Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Sun, 4 Sep 2022 21:30:14 +0200 Subject: [PATCH] Try to fix all warnings --- tests/integration_tests.rs | 1 - tests/utils/command.rs | 2 ++ tests/utils/mocked_pagers.rs | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index 3deb65a7..6a626327 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -1,4 +1,3 @@ -use assert_cmd::cargo::CommandCargoExt; use predicates::boolean::PredicateBooleanExt; use predicates::{prelude::predicate, str::PredicateStrExt}; use serial_test::serial; diff --git a/tests/utils/command.rs b/tests/utils/command.rs index 64cb0baf..87420f4b 100644 --- a/tests/utils/command.rs +++ b/tests/utils/command.rs @@ -1,3 +1,5 @@ +#![allow(unused)] // Because indirectly included by e.g.integration_tests.rs, but not everything inside is used + use assert_cmd::cargo::CommandCargoExt; use std::process::Command; diff --git a/tests/utils/mocked_pagers.rs b/tests/utils/mocked_pagers.rs index d115316d..07ae6fcd 100644 --- a/tests/utils/mocked_pagers.rs +++ b/tests/utils/mocked_pagers.rs @@ -1,3 +1,5 @@ +#![allow(unused)] // Because indirectly included by e.g. system_wide_config.rs, but not used + use assert_cmd::Command; use predicates::prelude::predicate; use std::env;