Skip to content
Snippets Groups Projects
Commit ed528b2b authored by brinn's avatar brinn
Browse files

Make test pass both in the IDE and on CI.

SVN: 26517
parent 1de44e21
No related branches found
No related tags found
No related merge requests found
...@@ -176,9 +176,9 @@ public class XMLInfraStructureTest extends AssertJUnit ...@@ -176,9 +176,9 @@ public class XMLInfraStructureTest extends AssertJUnit
fail("Exception expected"); fail("Exception expected");
} catch (Exception ex) } catch (Exception ex)
{ {
assertEquals("org.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 1; " assertTrue(ex.toString().startsWith("org.xml.sax.SAXParseException"));
+ "XML document structures must start and end within the same entity.", assertTrue(ex.toString().contains(
ex.toString()); "XML document structures must start and end within the same entity."));
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment