This is an automated email from the ASF dual-hosted git repository.
mbenson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git
The following commit(s) were added to refs/heads/master by this push:
new dd3a594 set expectedMessage for antunit test
dd3a594 is described below
commit dd3a5942350674eaad76a8420703d41719ff2b7f
Author: Matt Benson <[email protected]>
AuthorDate: Thu Feb 24 20:49:21 2022 -0600
set expectedMessage for antunit test
---
src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml
b/src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml
index 3c76278..ed87a34 100644
--- a/src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml
+++ b/src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml
@@ -151,7 +151,7 @@
<target name="testInvalidAttribute" if="prereqs-ok">
<js />
- <au:expectfailure message="Found unsupported attributes">
+ <au:expectfailure expectedMessage="does not support">
<scripttest foo="bar" />
</au:expectfailure>
</target>