public void testWrapTooltip_multilineShortText()
{
String tip = "Now is the winter of our discontent<br>Made glorious summer by this sun of York";
-
+ String tip2 = "Now is the winter of our discontent<br/>Made glorious summer by this sun of York";
// System.out.println(
// JvSwingUtils.wrapTooltip(false, "<html>" + tip + "</html>"));
// System.out.println(JvSwingUtils.wrapTooltip(true, tip));
assertEquals("<html>" + tip + "</html>",
- JvSwingUtils.wrapTooltip(false, "<html>" + tip + "</html>"));
+ JvSwingUtils.wrapTooltip(false, "<html>" + tip2 + "</html>"));
assertEquals("<html>" + tip + "</html>",
- JvSwingUtils.wrapTooltip(true, tip));
+ JvSwingUtils.wrapTooltip(true, tip2));
// was:
//