()
| 179 | |
| 180 | #[test] |
| 181 | fn test_refill_and_print_one() { |
| 182 | let mut console = MockConsole::default(); |
| 183 | let paragraphs = &["First paragraph"]; |
| 184 | refill_and_print(&mut console, paragraphs, " ").unwrap(); |
| 185 | assert_eq!(&[CapturedOut::Print(" First paragraph".to_owned())], console.captured_out()); |
| 186 | } |
| 187 | |
| 188 | #[test] |
| 189 | fn test_refill_and_print_multiple() { |
nothing calls this directly
no test coverage detected