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

Function test_progress_section_display

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

Source from the content-addressed store, hash-verified

548
549#[test]
550fn test_progress_section_display() {
551 let p = TransferProgress::SectionComplete {
552 section: "HEADER".to_string(),
553 bytes_transferred: 200,
554 };
555 let display = format!("{}", p);
556 assert!(display.contains("HEADER"));
557 assert!(display.contains("200 B"));
558}
559
560#[test]
561fn test_progress_chunk_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected