Skip to main content

suite_text

Function suite_text 

Source
pub fn suite_text(unit: &str, snippet: &str) -> (String, usize)
Expand description

The synthetic suite for snippet, targeting unit: the snippet’s own lines, with the suite and case openings added to the first and last header lines and the closers after the last line. Also how many characters the generated opening adds to the first line.