summaryrefslogtreecommitdiff
path: root/rola-utils/space-system/macros/src
diff options
context:
space:
mode:
Diffstat (limited to 'rola-utils/space-system/macros/src')
-rw-r--r--rola-utils/space-system/macros/src/space_root_test.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/rola-utils/space-system/macros/src/space_root_test.rs b/rola-utils/space-system/macros/src/space_root_test.rs
index 71c48c0..0c15e39 100644
--- a/rola-utils/space-system/macros/src/space_root_test.rs
+++ b/rola-utils/space-system/macros/src/space_root_test.rs
@@ -64,8 +64,8 @@ pub(crate) fn internal_space_root_test_derive(input: TokenStream) -> TokenStream
use space_system::{Space, SpaceRoot, SpaceRootFindPattern};
use std::env::set_current_dir;
- #[tokio::test]
- async fn test_create_space() {
+ #[test]
+ fn test_create_space() {
let sandbox = rola_test_sandbox(stringify!(#name));
set_current_dir(&*sandbox).unwrap();
@@ -84,7 +84,7 @@ pub(crate) fn internal_space_root_test_derive(input: TokenStream) -> TokenStream
println!("Checking if {} absolute directory does not exist before initialization", stringify!(#name));
assert!(!dir.exists());
- space.init_here().await.unwrap();
+ space.init_here().unwrap();
println!("Checking if {} absolute directory exists after initialization", stringify!(#name));
assert!(dir.exists());
@@ -98,7 +98,7 @@ pub(crate) fn internal_space_root_test_derive(input: TokenStream) -> TokenStream
println!("Checking if {} does not exist before initialization", stringify!(#name));
assert!(space.space_dir_current().is_err());
- space.init_here().await.unwrap();
+ space.init_here().unwrap();
println!("Checking if {} exists after initialization", stringify!(#name));
assert!(space.space_dir_current().is_ok());