Browse Source

add more abc tests

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450601 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 19 years ago
parent
commit
858507a6a5
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      src/tests/antunit/types/conditions/matches-test.xml

+ 9
- 0
src/tests/antunit/types/conditions/matches-test.xml View File

@@ -38,12 +38,21 @@
<au:assertTrue>
<matches string="abc" pattern="ab?"/>
</au:assertTrue>
<au:assertTrue>
<matches string="abc" pattern="ab."/>
</au:assertTrue>
<au:assertTrue>
<matches string="ab" pattern="ab?"/>
</au:assertTrue>
<au:assertTrue>
<matches string="ab" pattern="ab"/>
</au:assertTrue>
<au:assertTrue>
<matches string="acb" pattern="ab?"/>
</au:assertTrue>
<au:assertFalse>
<matches string="acb" pattern="ab."/>
</au:assertFalse>
</target>

<target name="test-caseinsensitive">


Loading…
Cancel
Save