You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2008/09/08 15:33:32 UTC

svn commit: r693093 - /ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml

Author: bodewig
Date: Mon Sep  8 06:33:31 2008
New Revision: 693093

URL: http://svn.apache.org/viewvc?rev=693093&view=rev
Log:
Make test pass on vmgump

Modified:
    ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml

Modified: ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml?rev=693093&r1=693092&r2=693093&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml Mon Sep  8 06:33:31 2008
@@ -112,16 +112,9 @@
   <target name="testUTF16Encoding">
     <property name="char" value="&#169;" />
     <echo file="${output}/echo16.txt" encoding="UTF-16">${char}</echo>
-    <au:assertTrue>
-      <resourcecount count="1">
-        <restrict>
-          <concat encoding="UTF-16">
-            <file file="${output}/echo16.txt" />
-          </concat>
-          <contains text="${char}" />
-        </restrict>
-      </resourcecount>
-    </au:assertTrue>
+    <loadfile property="out.16" srcfile="${output}/echo16.txt"
+              encoding="UTF-16"/>
+    <au:assertEquals expected="${char}" actual="${out.16}"/>
   </target>
 
   <target name="testUTF8Encoding">