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

Function test_result_new

atomic-core/src/output/repo/file.rs:1335–1345  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1333
1334 #[test]
1335 fn test_result_new() {
1336 let result = FileOutputResult::new("test.rs", Inode::ROOT);
1337
1338 assert_eq!(result.path, "test.rs");
1339 assert_eq!(result.inode, Inode::ROOT);
1340 assert_eq!(result.bytes_written, 0);
1341 assert_eq!(result.vertices_processed, 0);
1342 assert_eq!(result.edges_traversed, 0);
1343 assert!(!result.was_truncated);
1344 assert!(result.conflicts.is_empty());
1345 }
1346
1347 #[test]
1348 fn test_result_empty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected