Browse Source

test last property wins

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@916107 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 15 years ago
parent
commit
1dd445f404
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      src/tests/antunit/taskdefs/loadproperties-test.xml

+ 10
- 0
src/tests/antunit/taskdefs/loadproperties-test.xml View File

@@ -179,4 +179,14 @@ tpfr.c=@C@
<assertPropertiesFromResourceOkay />
</target>

<target name="testLastPropertyWins">
<loadproperties>
<string>foo=foo
foo=bar</string>
</loadproperties>
<au:assertTrue>
<equals arg1="bar" arg2="${foo}" />
</au:assertTrue>
</target>

</project>

Loading…
Cancel
Save