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

Function test_record_file_zero_bytes

atomic-core/src/output/repo/outcome.rs:430–436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

428
429 #[test]
430 fn test_record_file_zero_bytes() {
431 let mut outcome = OutputOutcome::new();
432 outcome.record_file("empty.txt", 0);
433
434 assert_eq!(outcome.files_written(), 1);
435 assert_eq!(outcome.bytes_written, 0);
436 }
437
438 #[test]
439 fn test_iter_files() {

Callers

nothing calls this directly

Calls 1

record_fileMethod · 0.45

Tested by

no test coverage detected