JAL-4059 fix other PopupMenuTest
authorBen Soares <b.soares@dundee.ac.uk>
Mon, 13 Nov 2023 22:58:49 +0000 (22:58 +0000)
committerBen Soares <b.soares@dundee.ac.uk>
Mon, 13 Nov 2023 22:58:49 +0000 (22:58 +0000)
test/jalview/gui/PopupMenuTest.java

index e4c6792..0859566 100644 (file)
@@ -222,9 +222,8 @@ public class PopupMenuTest
     testee.configureReferenceAnnotationsMenu(menu, seqs);
     assertTrue(menu.isEnabled());
     String s = MessageManager.getString("label.add_annotations_for");
-    String expected = "<html><style> div.ttip {width:350px;white-space:pre-wrap;padding:2px;overflow-wrap:break-word;}</style>"
-            + "<div class=\"ttip\">" + s
-            + "<br/>Jmol/secondary structure<br/>PDB/Temp </div></html>";
+    String expected = "<html>" + s
+            + "<br/>Jmol/secondary structure<br/>PDB/Temp</html>";
     assertEquals(expected, menu.getToolTipText());
   }