Browse Source

add test demonstrating omission of nonexistent resources

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@916536 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 15 years ago
parent
commit
5661b005e4
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      src/tests/antunit/types/resources/concat-resource-test.xml

+ 14
- 0
src/tests/antunit/types/resources/concat-resource-test.xml View File

@@ -125,4 +125,18 @@ baz
</and>
</au:assertTrue>
</target>

<target name="testNonexistent">
<au:assertTrue>
<resourcesmatch>
<string>foobar</string>
<concat>
<string>foo</string>
<propertyresource name="someunsetproperty" />
<string>bar</string>
</concat>
</resourcesmatch>
</au:assertTrue>
</target>

</project>

Loading…
Cancel
Save