"string with one newline, string with one newline, string with one>\n<newline, string with one newline",
32,
5,
},
{
"[red:-:-]Do you[-:-:-] want to\n\nquit the application?",
28,
4,
},
{
Escape("In [Chinese astronomy], the stars that correspond to Gemini are located in two areas: the [White Tiger of the West] (西方白虎, *Xī Fāng Bái Hǔ*) and the [Vermillion Bird of the South] (南方朱雀, *Nán Fāng Zhū Què*)."),
100,
3,
},
}
fori,c:=rangecases{
lines:=WordWrap(c.text,c.width)
forj,line:=rangelines{
ifstrings.Contains(line,"\n"){
t.Errorf("case %d, line %d: wrapped line contains newline",i,j)