This is an automated email from the ASF dual-hosted git repository.
mbenson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git
The following commit(s) were added to refs/heads/master by this push:
new 97cc23e test pathconvert setonempty=false
97cc23e is described below
commit 97cc23ef8b10cd514c808ab4d920034ab6301fad
Author: Matt Benson <[email protected]>
AuthorDate: Wed Feb 9 13:23:50 2022 -0600
test pathconvert setonempty=false
---
src/tests/antunit/taskdefs/pathconvert-test.xml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/tests/antunit/taskdefs/pathconvert-test.xml
b/src/tests/antunit/taskdefs/pathconvert-test.xml
index 11bbcb6..0a31302 100644
--- a/src/tests/antunit/taskdefs/pathconvert-test.xml
+++ b/src/tests/antunit/taskdefs/pathconvert-test.xml
@@ -99,4 +99,13 @@
</pathconvert>
<au:assertPropertyEquals name="result" value="|foo|bar|baz" />
</target>
+
+ <target name="testNoSetonempty">
+ <pathconvert property="result" setonempty="false">
+ <resources />
+ </pathconvert>
+ <au:assertFalse>
+ <isset property="result" />
+ </au:assertFalse>
+ </target>
</project>