summaryrefslogtreecommitdiff
path: root/rola-utils/space-system/macros/src/space_root_test.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-19 01:40:38 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-19 01:40:38 +0800
commit1e9c97c21f8a4e55420712b054895ff8b4f9a849 (patch)
treec6bd37889deb54c024f974f368a9a7d654cad822 /rola-utils/space-system/macros/src/space_root_test.rs
parente078163c7cdbbf226c18d3e3afa7268a2878e18b (diff)
feat(rola-bucket): add bucket bind managementHEADmaster
Implement bucket bind CRUD operations and config loading, along with CLI integration for listing, setting, and removing bucket bindings.
Diffstat (limited to 'rola-utils/space-system/macros/src/space_root_test.rs')
-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());