feat: cargo fmt
This commit is contained in:
parent
30fbd3dc37
commit
51da2eed19
|
@ -1 +1 @@
|
||||||
pub mod utils;
|
pub mod utils;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Just for testing to using library
|
// Just for testing to using library
|
||||||
pub fn public_function() -> String {
|
pub fn public_function() -> String {
|
||||||
"called public func `public_function()`".to_string()
|
"called public func `public_function()`".to_string()
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
pub mod first;
|
pub mod first;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
pub mod first_utils;
|
pub mod first_utils;
|
||||||
|
|
|
@ -4,7 +4,7 @@ mod tests {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_first() {
|
fn test_first() {
|
||||||
let result: String = utils::first_utils::first::public_function();
|
let result: String = utils::first_utils::first::public_function();
|
||||||
assert!(result.contains("called public func `public_function()`"));
|
assert!(result.contains("called public func `public_function()`"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue