summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Nordholts <enselic@gmail.com>2022-09-04 21:30:14 +0200
committerMartin Nordholts <enselic@gmail.com>2022-09-04 21:30:14 +0200
commit799bb1639c7b02267c3669113bba9d5257c8a80a (patch)
treeb4e962b354d43f171d394403cb82a7eb1a500118
parentbc2dc0796b9632a494b714019c65d38b333f16e8 (diff)
Try to fix all warnings
-rw-r--r--tests/integration_tests.rs1
-rw-r--r--tests/utils/command.rs2
-rw-r--r--tests/utils/mocked_pagers.rs2
3 files changed, 4 insertions, 1 deletions
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;