()
| 802 | /// Test CleanupGuard creation. |
| 803 | #[test] |
| 804 | fn test_cleanup_guard_new() { |
| 805 | let guard = CleanupGuard::new(PathBuf::from("/tmp/test")); |
| 806 | assert!(!guard.is_disabled()); |
| 807 | assert_eq!(guard.path(), Path::new("/tmp/test")); |
| 808 | } |
| 809 | |
| 810 | /// Test CleanupGuard disable. |
| 811 | #[test] |
nothing calls this directly
no outgoing calls
no test coverage detected