diff --git a/src/tests/junit/org/apache/tools/ant/types/AssertionsTest.java b/src/tests/junit/org/apache/tools/ant/types/AssertionsTest.java index d83018485..59b82b7e3 100644 --- a/src/tests/junit/org/apache/tools/ant/types/AssertionsTest.java +++ b/src/tests/junit/org/apache/tools/ant/types/AssertionsTest.java @@ -82,7 +82,7 @@ public class AssertionsTest extends BuildFileTest { public void testReferenceAbuse() { expectBuildExceptionContaining("test-reference-abuse", "reference abuse rejected", - "You must not specify more than one attribute when using refid"); + "You must not specify nested elements when using refid"); } public void testNofork() {