()
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected