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

Function test_result_new

atomic-core/src/output/repo/tree.rs:1233–1242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1231
1232 #[test]
1233 fn test_result_new() {
1234 let result = TreeCollectResult::new();
1235
1236 assert!(result.items.is_empty());
1237 assert_eq!(result.files_count, 0);
1238 assert_eq!(result.directories_count, 0);
1239 assert_eq!(result.skipped_count, 0);
1240 assert_eq!(result.max_depth_reached, 0);
1241 assert!(result.errors.is_empty());
1242 }
1243
1244 #[test]
1245 fn test_result_add_file() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected