Browse Source

failing test for PR 46257

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@734819 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 16 years ago
parent
commit
23b6d1df60
1 changed files with 23 additions and 0 deletions
  1. +23
    -0
      src/tests/antunit/types/resources/comparators/test.xml

+ 23
- 0
src/tests/antunit/types/resources/comparators/test.xml View File

@@ -279,4 +279,27 @@

<target name="sort" depends="forwardsort,reversesort,compoundsort" />

<target name="testEquals">
<!-- test for PR 46527 -->
<sort id="testEquals">
<resources>
<string>foo</string>
<string>foo</string>
<string>foo</string>
</resources>
</sort>

<au:assertTrue>
<resourcecount refid="testEquals" count="3" />
</au:assertTrue>

<pathconvert refid="testEquals" property="testEquals" pathsep="">
<mergemapper to="X" />
</pathconvert>

<au:assertTrue>
<length string="${testEquals}" length="3" />
</au:assertTrue>
</target>

</project>

Loading…
Cancel
Save