Skip to content

Commit 1d36a2f

Browse files
committed
error_tools : fix
1 parent 0d1bcfd commit 1d36a2f

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

module/core/error_tools/tests/inc/assert_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::*;
33

44
//
55

6-
tests_impls!
6+
test_tools::tests_impls!
77
{
88
fn debug_assert_id_pass()
99
{
@@ -78,7 +78,7 @@ tests_impls!
7878

7979
//
8080

81-
tests_index!
81+
test_tools::tests_index!
8282
{
8383
debug_assert_id_pass,
8484
debug_assert_id_fail,

module/core/error_tools/tests/inc/basic_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use super::*;
55
//
66

77
#[ cfg( not( feature = "no_std" ) ) ]
8-
tests_impls!
8+
test_tools::tests_impls!
99
{
1010
// fn basic()
1111
// {
@@ -123,7 +123,7 @@ tests_impls!
123123
//
124124

125125
#[ cfg( not( feature = "no_std" ) ) ]
126-
tests_index!
126+
test_tools::tests_index!
127127
{
128128
// basic,
129129
// use1,
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#[ allow( unused_imports ) ]
22
use super::*;
3-
4-
use test_tools::exposed::*;
3+
// use test_tools::exposed::*;
4+
use test_tools::{ tests_impls, tests_index, a_id };
55

66
mod basic_test;
77
mod namespace_test;
@@ -10,3 +10,4 @@ mod assert_test;
1010
#[ cfg( not( feature = "no_std" ) ) ]
1111
mod err_with_test;
1212
mod untyped_test;
13+

module/core/error_tools/tests/inc/namespace_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ fn exposed_main_namespace()
99
use the_module::exposed::*;
1010
error::debug_assert_id!( 1, 1 );
1111

12-
}
12+
}

module/core/error_tools/tests/inc/untyped_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use super::*;
44
//
55

66
#[ cfg( feature = "error_untyped" ) ]
7-
tests_impls!
7+
test_tools::tests_impls!
88
{
99
fn basic()
1010
{
@@ -20,7 +20,7 @@ tests_impls!
2020
//
2121

2222
#[ cfg( feature = "error_untyped" ) ]
23-
tests_index!
23+
test_tools::tests_index!
2424
{
2525
basic,
2626
}

0 commit comments

Comments
 (0)