Closed
Description
org.junit.ComparisonFailure: expected:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>
<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">]
<echo>${gr...> but was:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>
<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">
]
<echo>${gr...>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.simpleTest(XmlDocumentFormatterTest.java:100)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.testGeneralFormat(XmlDocumentFormatterTest.java:44)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.eclipse.ant.tests.ui.testplugin.TestAgainExceptionRule$1.evaluate(TestAgainExceptionRule.java:39)
org.junit.ComparisonFailure: expected:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>
<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">]
<echo>${greeting...> but was:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>
<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">
]
<echo>${greeting...>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.simpleTest(XmlDocumentFormatterTest.java:100)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.testTabsInsteadOfSpaces(XmlDocumentFormatterTest.java:82)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.eclipse.ant.tests.ui.testplugin.TestAgainExceptionRule$1.evaluate(TestAgainExceptionRule.java:39)
expected:<...<!-- = = = = = = -->[ <!-- formatTest --> <!-- = = = = = = --> <target name="formatTest" depends="init" description="--> test target one"> <!-- hello world --> <greeting /> </target> <!-- - - - - - - --> <!-- init --> <!-- - - - - - - --> <target name="init"> <property name="greeting" value="hi" /> <presetdef name="greeting">] ...> but was:<...<!-- = = = = = = -->[ <!-- formatTest --> <!-- = = = = = = --> <target name="formatTest" depends="init" description="--> test target one"> <!-- hello world --> <greeting /> </target> <!-- - - - - - - --> <!-- init --> <!-- - - - - - - --> <target name="init"> <property name="greeting" value="hi" /> <presetdef name="greeting"> ] ...>
org.junit.ComparisonFailure: expected:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>
<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">]
...> but was:<...<!-- = = = = = = -->[
<!-- formatTest -->
<!-- = = = = = = -->
<target name="formatTest" depends="init" description="--> test target one">
<!-- hello world -->
<greeting />
</target>
<!-- - - - - - - -->
<!-- init -->
<!-- - - - - - - -->
<target name="init">
<property name="greeting" value="hi" />
<presetdef name="greeting">
]
...>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.simpleTest(XmlDocumentFormatterTest.java:100)
at org.eclipse.ant.tests.ui.editor.formatter.XmlDocumentFormatterTest.testTabWidth(XmlDocumentFormatterTest.java:63)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.eclipse.ant.tests.ui.testplugin.TestAgainExceptionRule$1.evaluate(TestAgainExceptionRule.java:39)