Author: mbenson
Date: Thu Feb 25 03:33:51 2010
New Revision: 916107
URL: http://svn.apache.org/viewvc?rev=916107&view=rev
Log:
test last property wins
Modified:
ant/core/trunk/src/tests/antunit/taskdefs/loadproperties-test.xml
Modified: ant/core/trunk/src/tests/antunit/taskdefs/loadproperties-test.xml
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/loadproperties-test.xml?rev=916107&r1=916106&r2=916107&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/loadproperties-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/loadproperties-test.xml Thu Feb
25 03:33:51 2010
@@ -179,4 +179,14 @@
<assertPropertiesFromResourceOkay />
</target>
+ <target name="testLastPropertyWins">
+ <loadproperties>
+ <string>foo=foo
+foo=bar</string>
+ </loadproperties>
+ <au:assertTrue>
+ <equals arg1="bar" arg2="${foo}" />
+ </au:assertTrue>
+ </target>
+
</project>