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 2009/01/28 10:44:06 UTC
svn commit: r738418 -
/ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml
Author: bodewig
Date: Wed Jan 28 09:44:06 2009
New Revision: 738418
URL: http://svn.apache.org/viewvc?rev=738418&view=rev
Log:
make assertPropertyContains casesensitive flag do something useful
Modified:
ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml
Modified: ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml
URL: http://svn.apache.org/viewvc/ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml?rev=738418&r1=738417&r2=738418&view=diff
==============================================================================
--- ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml (original)
+++ ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml Wed Jan 28 09:44:06 2009
@@ -104,7 +104,8 @@
<sequential>
<au:assertPropertySet message="@{message}" name="@{name}"/>
<au:assertTrue message="@{message}">
- <contains string="@{name}" substring="@{value}"/>
+ <contains string="@{name}" substring="@{value}"
+ casesensitive="@{casesensitive}"/>
</au:assertTrue>
</sequential>
</macrodef>