diff options
Diffstat (limited to 'mingling_pathf/test/src')
| -rw-r--r-- | mingling_pathf/test/src/directly_mod.rs | 1 | ||||
| -rw-r--r-- | mingling_pathf/test/src/has_sub_mod.rs | 5 | ||||
| -rw-r--r-- | mingling_pathf/test/src/has_sub_mod/sub_mod.rs | 1 | ||||
| -rw-r--r-- | mingling_pathf/test/src/has_sub_use.rs | 4 | ||||
| -rw-r--r-- | mingling_pathf/test/src/has_sub_use/sub_mod.rs | 1 | ||||
| -rw-r--r-- | mingling_pathf/test/src/has_sub_use/sub_use.rs | 1 | ||||
| -rw-r--r-- | mingling_pathf/test/src/lib.rs | 2 | ||||
| -rw-r--r-- | mingling_pathf/test/src/main.rs | 13 | ||||
| -rw-r--r-- | mingling_pathf/test/src/unused.rs | 1 | ||||
| -rw-r--r-- | mingling_pathf/test/src/use_all.rs | 1 |
10 files changed, 1 insertions, 29 deletions
diff --git a/mingling_pathf/test/src/directly_mod.rs b/mingling_pathf/test/src/directly_mod.rs deleted file mode 100644 index 09f464e..0000000 --- a/mingling_pathf/test/src/directly_mod.rs +++ /dev/null @@ -1 +0,0 @@ -pub struct DirectlyModStruct; diff --git a/mingling_pathf/test/src/has_sub_mod.rs b/mingling_pathf/test/src/has_sub_mod.rs deleted file mode 100644 index 1c961a1..0000000 --- a/mingling_pathf/test/src/has_sub_mod.rs +++ /dev/null @@ -1,5 +0,0 @@ -pub mod sub_mod; - -pub mod directly_sub_mod { - pub struct DirectlySubModStruct; -} diff --git a/mingling_pathf/test/src/has_sub_mod/sub_mod.rs b/mingling_pathf/test/src/has_sub_mod/sub_mod.rs deleted file mode 100644 index 2e7ade3..0000000 --- a/mingling_pathf/test/src/has_sub_mod/sub_mod.rs +++ /dev/null @@ -1 +0,0 @@ -pub struct HasSubModStruct; diff --git a/mingling_pathf/test/src/has_sub_use.rs b/mingling_pathf/test/src/has_sub_use.rs deleted file mode 100644 index c645034..0000000 --- a/mingling_pathf/test/src/has_sub_use.rs +++ /dev/null @@ -1,4 +0,0 @@ -mod sub_use; -pub use sub_use::*; - -pub mod sub_mod; diff --git a/mingling_pathf/test/src/has_sub_use/sub_mod.rs b/mingling_pathf/test/src/has_sub_use/sub_mod.rs deleted file mode 100644 index 76dde62..0000000 --- a/mingling_pathf/test/src/has_sub_use/sub_mod.rs +++ /dev/null @@ -1 +0,0 @@ -pub struct SubModInSubUseStruct; diff --git a/mingling_pathf/test/src/has_sub_use/sub_use.rs b/mingling_pathf/test/src/has_sub_use/sub_use.rs deleted file mode 100644 index ad8736d..0000000 --- a/mingling_pathf/test/src/has_sub_use/sub_use.rs +++ /dev/null @@ -1 +0,0 @@ -pub struct HasSubUseStruct; diff --git a/mingling_pathf/test/src/lib.rs b/mingling_pathf/test/src/lib.rs index 9d393c2..742e9d0 100644 --- a/mingling_pathf/test/src/lib.rs +++ b/mingling_pathf/test/src/lib.rs @@ -4,7 +4,7 @@ use std::{collections::HashMap, env::current_dir}; #[test] fn test_module_pathf() { - let dir = current_dir().unwrap(); + let dir = current_dir().unwrap().join("test_proj"); let mapping = mingling_pathf::module_pathf::analyze(&dir) .unwrap() .into_iter() diff --git a/mingling_pathf/test/src/main.rs b/mingling_pathf/test/src/main.rs deleted file mode 100644 index 7a66e93..0000000 --- a/mingling_pathf/test/src/main.rs +++ /dev/null @@ -1,13 +0,0 @@ -#![allow(unused)] - -pub mod directly_mod; - -pub mod has_sub_mod; - -mod has_sub_use; -pub use has_sub_use::*; - -mod use_all; -pub use use_all::*; - -fn main() {} diff --git a/mingling_pathf/test/src/unused.rs b/mingling_pathf/test/src/unused.rs deleted file mode 100644 index 2b0984a..0000000 --- a/mingling_pathf/test/src/unused.rs +++ /dev/null @@ -1 +0,0 @@ -// This file should not be scanned diff --git a/mingling_pathf/test/src/use_all.rs b/mingling_pathf/test/src/use_all.rs deleted file mode 100644 index b26a83d..0000000 --- a/mingling_pathf/test/src/use_all.rs +++ /dev/null @@ -1 +0,0 @@ -pub struct UseAllStruct; |
