MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_refill_and_print_empty

Function test_refill_and_print_empty

std/src/console/format.rs:173–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171
172 #[test]
173 fn test_refill_and_print_empty() {
174 let mut console = MockConsole::default();
175 let paragraphs: &[&str] = &[];
176 refill_and_print(&mut console, paragraphs, " ").unwrap();
177 assert!(console.captured_out().is_empty());
178 }
179
180 #[test]
181 fn test_refill_and_print_one() {

Callers

nothing calls this directly

Calls 1

refill_and_printFunction · 0.85

Tested by

no test coverage detected