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

Function test_output_stats_display

atomic-core/src/output/mod.rs:616–631  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

614
615 #[test]
616 fn test_output_stats_display() {
617 let stats = OutputStats {
618 files_written: 10,
619 directories_created: 3,
620 files_deleted: 2,
621 files_skipped: 5,
622 conflicts: 1,
623 bytes_written: 2048,
624 };
625 let display = stats.to_string();
626 assert!(display.contains("10"));
627 assert!(display.contains("3"));
628 assert!(display.contains("2"));
629 assert!(display.contains("5"));
630 assert!(display.contains("1"));
631 }
632
633 #[test]
634 fn test_output_stats_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected