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

Function test_progress_finished_display

atomic-remote/src/streaming/tests.rs:584–592  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

582
583#[test]
584fn test_progress_finished_display() {
585 let p = TransferProgress::Finished {
586 total_bytes: 7_500_000,
587 elapsed_ms: 3200,
588 };
589 let display = format!("{}", p);
590 assert!(display.contains("complete"));
591 assert!(display.contains("3.2s"));
592}
593
594// ── TransferStats ──────────────────────────────────────────────
595

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected