You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/06/19 09:45:33 UTC
(tomcat) branch main updated: Better message when skipping tests
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new f59b31f7c1 Better message when skipping tests
f59b31f7c1 is described below
commit f59b31f7c14fc80a2f8332ecd31db286e3fef311
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Jun 19 10:45:26 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 b7ad39f3ed..81bcf60c79 100644
--- a/test/org/apache/el/parser/TestAstIdentifier.java
+++ b/test/org/apache/el/parser/TestAstIdentifier.java
@@ -61,7 +61,7 @@ public class TestAstIdentifier {
*
* In Java 24, the definition of Java Letter and/or Java Digit has changed.
*/
- Assume.assumeTrue(Runtime.version().feature() < 24);
+ Assume.assumeTrue("Test only works on Java 21 to 23", Runtime.version().feature() < 24);
for (int i = 0; i < 0xFFFF; i++) {
if (Character.isJavaIdentifierStart(i)) {
testIdentifier((char) i, 'b');
@@ -86,7 +86,7 @@ public class TestAstIdentifier {
*
* In Java 24, the definition of Java Letter and/or Java Digit has changed.
*/
- Assume.assumeTrue(Runtime.version().feature() < 24);
+ Assume.assumeTrue("Test only works on Java 21 to 23", Runtime.version().feature() < 24);
for (int i = 0; i < 0xFFFF; i++) {
if (Character.isJavaIdentifierPart(i)) {
testIdentifier('b', (char) i);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org