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

Function test_record_file

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

Source from the content-addressed store, hash-verified

407
408 #[test]
409 fn test_record_file() {
410 let mut outcome = OutputOutcome::new();
411 outcome.record_file("main.rs", 100);
412
413 assert_eq!(outcome.files_written(), 1);
414 assert_eq!(outcome.bytes_written, 100);
415 assert!(!outcome.is_empty());
416 }
417
418 #[test]
419 fn test_record_multiple_files() {

Callers

nothing calls this directly

Calls 1

record_fileMethod · 0.45

Tested by

no test coverage detected