minor changes
[jalview.git] / test / jalview / gui / JvSwingUtilsTest.java
index d46972a..c33e337 100644 (file)
@@ -108,15 +108,15 @@ public class JvSwingUtilsTest
   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:
 //