factor: fix "unused import" warning in test

This commit is contained in:
Daniel Hofstetter
2023-04-06 09:45:13 +02:00
parent 69f4944a6e
commit 20a8b5ac9e
+2 -1
View File
@@ -8,7 +8,7 @@
// spell-checker:ignore (methods) hexdigest // spell-checker:ignore (methods) hexdigest
use crate::common::util::{AtPath, TestScenario}; use crate::common::util::TestScenario;
use std::time::{Duration, SystemTime}; use std::time::{Duration, SystemTime};
@@ -33,6 +33,7 @@ fn test_invalid_arg() {
#[test] #[test]
#[cfg(feature = "sort")] #[cfg(feature = "sort")]
fn test_parallel() { fn test_parallel() {
use crate::common::util::AtPath;
use hex_literal::hex; use hex_literal::hex;
use sha1::{Digest, Sha1}; use sha1::{Digest, Sha1};
use std::{fs::OpenOptions, time::Duration}; use std::{fs::OpenOptions, time::Duration};