Browse Source

Show bug I've introduced yesterday

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274915 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
5eaf0e1c2a
3 changed files with 11 additions and 0 deletions
  1. +5
    -0
      src/etc/testcases/taskdefs/property.xml
  2. +2
    -0
      src/etc/testcases/taskdefs/property5.properties
  3. +4
    -0
      src/testcases/org/apache/tools/ant/taskdefs/PropertyTest.java

+ 5
- 0
src/etc/testcases/taskdefs/property.xml View File

@@ -41,4 +41,9 @@
<property file="property4.properties"/>
</target>

<target name="thisIsNotACircularReference">
<property file="property5.properties"/>
<echo>b is ${a}</echo>
</target>

</project>

+ 2
- 0
src/etc/testcases/taskdefs/property5.properties View File

@@ -0,0 +1,2 @@
a=A
b=${a}/${a}

+ 4
- 0
src/testcases/org/apache/tools/ant/taskdefs/PropertyTest.java View File

@@ -128,4 +128,8 @@ public class PropertyTest extends BuildFileTest {
fail("Did not throw exception on circular exception");
}

public void testThisIsNotACircularReference() {
expectLog("thisIsNotACircularReference", "b is A/A");
}

}

Loading…
Cancel
Save