From 1fb03c244cd767851e8c2545d0b8e2191718ae33 Mon Sep 17 00:00:00 2001 From: iTrooz Date: Wed, 18 Oct 2023 09:22:41 +0200 Subject: [PATCH] fix(efiboot): move tests.rs to the right directory --- efiboot/src/cli/boot/mod.rs | 2 -- efiboot/src/cli/mod.rs | 2 ++ efiboot/src/cli/{boot => }/tests.rs | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename efiboot/src/cli/{boot => }/tests.rs (100%) diff --git a/efiboot/src/cli/boot/mod.rs b/efiboot/src/cli/boot/mod.rs index 76b5b9ee..700f907f 100644 --- a/efiboot/src/cli/boot/mod.rs +++ b/efiboot/src/cli/boot/mod.rs @@ -13,8 +13,6 @@ pub mod enable_disable; pub mod get_entries; pub mod next; pub mod order; -#[cfg(test)] -pub mod tests; #[derive(Parser)] pub enum BootCommand { diff --git a/efiboot/src/cli/mod.rs b/efiboot/src/cli/mod.rs index de1fba39..d4dd3f47 100644 --- a/efiboot/src/cli/mod.rs +++ b/efiboot/src/cli/mod.rs @@ -13,6 +13,8 @@ pub mod export; pub mod import; pub mod list; pub mod read; +#[cfg(test)] +pub mod tests; #[derive(Parser)] pub enum Command { diff --git a/efiboot/src/cli/boot/tests.rs b/efiboot/src/cli/tests.rs similarity index 100% rename from efiboot/src/cli/boot/tests.rs rename to efiboot/src/cli/tests.rs