MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_cleanup_guard_reexported

Function test_cleanup_guard_reexported

atomic-cli/src/commands/clone/mod.rs:212–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210 /// Verify that CleanupGuard is properly re-exported.
211 #[test]
212 fn test_cleanup_guard_reexported() {
213 use std::path::PathBuf;
214 let guard = CleanupGuard::new(PathBuf::from("/tmp/test"));
215 // Guard should be created without panic
216 assert!(!guard.is_disabled());
217 }
218}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected