From af6417aeed7a3b3c660aa046f4f09232fc027732 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Thu, 5 Oct 2006 21:44:42 +0000 Subject: [PATCH] change expected error message from attribute to element git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453397 13f79535-47bb-0310-9956-ffa450edef68 --- src/tests/junit/org/apache/tools/ant/types/AssertionsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {