This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 2f2981217d Better message when skipping tests
2f2981217d is described below
commit 2f2981217d8a5084e4bb58dd84b586a57547d650
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Jun 19 10:43:52 2026 +0100
Better message when skipping tests
---
test/org/apache/el/parser/TestAstIdentifier.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/org/apache/el/parser/TestAstIdentifier.java
b/test/org/apache/el/parser/TestAstIdentifier.java
index 48f1621f30..e2bf237985 100644
--- a/test/org/apache/el/parser/TestAstIdentifier.java
+++ b/test/org/apache/el/parser/TestAstIdentifier.java
@@ -62,7 +62,7 @@ public class TestAstIdentifier {
*
* In Java 19, the definition of Java Letter and/or Java Digit has
changed.
*/
- Assume.assumeFalse(JreCompat.isJre19Available());
+ Assume.assumeFalse("Test only works on Java 17 & 18",
JreCompat.isJre19Available());
for (int i = 0; i < 0xFFFF; i++) {
if (Character.isJavaIdentifierStart(i)) {
testIdentifier((char) i, 'b');
@@ -87,7 +87,7 @@ public class TestAstIdentifier {
*
* In Java 19, the definition of Java Letter and/or Java Digit has
changed.
*/
- Assume.assumeFalse(JreCompat.isJre19Available());
+ Assume.assumeFalse("Test only works on Java 17 & 18",
JreCompat.isJre19Available());
for (int i = 0; i < 0xFFFF; i++) {
if (Character.isJavaIdentifierPart(i)) {
testIdentifier('b', (char) i);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]