()
| 559 | |
| 560 | #[test] |
| 561 | fn test_progress_chunk_display() { |
| 562 | let p = TransferProgress::ChunkComplete { |
| 563 | index: 3, |
| 564 | bytes_transferred: 32000, |
| 565 | skipped: false, |
| 566 | }; |
| 567 | let display = format!("{}", p); |
| 568 | assert!(display.contains("chunk #3")); |
| 569 | assert!(display.contains("31.2 KB")); |
| 570 | } |
| 571 | |
| 572 | #[test] |
| 573 | fn test_progress_chunk_skipped_display() { |
nothing calls this directly
no outgoing calls
no test coverage detected