diff --git a/src/test/java/org/xmlcml/graphics/svg/SVGImageTest.java b/src/test/java/org/xmlcml/graphics/svg/SVGImageTest.java index 57100d8..237d136 100755 --- a/src/test/java/org/xmlcml/graphics/svg/SVGImageTest.java +++ b/src/test/java/org/xmlcml/graphics/svg/SVGImageTest.java @@ -59,8 +59,8 @@ public void testRoundtripImage() throws Exception { Assert.assertNotNull("image", svgImage1); svgImage.format(3); // - - Assert.assertEquals("image", "", + + Assert.assertEquals("image", "", svgImage1.toXML()); } diff --git a/src/test/java/org/xmlcml/graphics/svg/image/ImageConverterTest.java b/src/test/java/org/xmlcml/graphics/svg/image/ImageConverterTest.java index b4f663b..b1d0480 100755 --- a/src/test/java/org/xmlcml/graphics/svg/image/ImageConverterTest.java +++ b/src/test/java/org/xmlcml/graphics/svg/image/ImageConverterTest.java @@ -61,9 +61,8 @@ public void testCreateImageFromHref() throws IOException { imageFilenameList.get(0)); // check file has been written SVGElement svgElement = SVGImage.createSVGFromImage(new File(imageFilenameList.get(0)), SVGImage.IMAGE_PNG); - Assert.assertEquals("image", "", + Assert.assertEquals("image", "", svgElement.toXML()); - } @Test