From 6ccd0f443429108b565a9a5145d52651327fd2c4 Mon Sep 17 00:00:00 2001 From: Inkvisto Date: Wed, 24 Jul 2024 10:10:55 +0300 Subject: [PATCH 1/2] fix: willbe error_tools fix --- module/core/error_tools/tests/inc/mod.rs | 1 + module/core/error_tools/tests/tests.rs | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 module/core/error_tools/tests/tests.rs diff --git a/module/core/error_tools/tests/inc/mod.rs b/module/core/error_tools/tests/inc/mod.rs index bc9f8edfe5..256c6e20bd 100644 --- a/module/core/error_tools/tests/inc/mod.rs +++ b/module/core/error_tools/tests/inc/mod.rs @@ -3,5 +3,6 @@ use super::*; mod assert_test; mod basic_test; +#[ cfg( not( feature = "no_std" ) ) ] mod err_with_test; mod untyped_test; diff --git a/module/core/error_tools/tests/tests.rs b/module/core/error_tools/tests/tests.rs new file mode 100644 index 0000000000..0374c10521 --- /dev/null +++ b/module/core/error_tools/tests/tests.rs @@ -0,0 +1,7 @@ + +#[ allow( unused_imports ) ] +use error_tools as the_module; +#[ allow( unused_imports ) ] +use test_tools::exposed::*; + +mod inc; From f07fc5891647923606b5f9f84b1221516a9f1d89 Mon Sep 17 00:00:00 2001 From: Inkvisto Date: Wed, 24 Jul 2024 10:13:11 +0300 Subject: [PATCH 2/2] ref: rename tests.rs --- module/core/error_tools/tests/error_tools_tests.rs | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 module/core/error_tools/tests/error_tools_tests.rs diff --git a/module/core/error_tools/tests/error_tools_tests.rs b/module/core/error_tools/tests/error_tools_tests.rs deleted file mode 100644 index 0374c10521..0000000000 --- a/module/core/error_tools/tests/error_tools_tests.rs +++ /dev/null @@ -1,7 +0,0 @@ - -#[ allow( unused_imports ) ] -use error_tools as the_module; -#[ allow( unused_imports ) ] -use test_tools::exposed::*; - -mod inc;