// This case matches the styles that should generally be used for error
// This case matches the styles that should generally be used for error
// messages
// messages
expect(
expect(
renderer.render(createTreeWithWrappingNodes(
renderer.render(createTreeWithWrappingNodes(
rootStyle:DiagnosticsTreeStyle.error,
rootStyle:DiagnosticsTreeStyle.error,
propertyStyle:DiagnosticsTreeStyle.errorProperty,
propertyStyle:DiagnosticsTreeStyle.errorProperty,
)),
)),
equalsIgnoringHashCodes(
equalsIgnoringHashCodes(
'══╡ TESTTREE#00000 ╞════════════════════\n'
'══╡ TESTTREE#00000 ╞════════════════════\n'
'--- example property at max length --\n'
'--- example property at max length --\n'
'This is a very long message that must\n'
'This is a very long message that must\n'
'wrap as it cannot fit on one line. This\n'
'wrap as it cannot fit on one line. This\n'
'is a very long message that must wrap as\n'
'is a very long message that must wrap as\n'
'it cannot fit on one line. This is a\n'
'it cannot fit on one line. This is a\n'
'very long message that must wrap as it\n'
'very long message that must wrap as it\n'
'cannot fit on one line.\n'
'cannot fit on one line.\n'
'--- example property at max length --\n'
'--- example property at max length --\n'
'Message that is not allowed to wrap even though it is very long. Message that is not allowed to wrap even though it is very long. Message that is not allowed to wrap even though it is very long. Message that is not allowed to wrap.\n'
'Message that is not allowed to wrap even though it is very long. Message that is not allowed to wrap even though it is very long. Message that is not allowed to wrap even though it is very long. Message that is not allowed to wrap.\n'