This is an automated email from the ASF dual-hosted git repository.

tballison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/main by this push:
     new 50e559fa6a prep for 4.0.0-alpha-1 release -update unit test
50e559fa6a is described below

commit 50e559fa6a84dc76489b31234b94b585c5e99f6d
Author: tallison <[email protected]>
AuthorDate: Mon May 4 18:58:44 2026 -0400

    prep for 4.0.0-alpha-1 release -update unit test
---
 tika-core/src/test/java/org/apache/tika/TikaIT.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tika-core/src/test/java/org/apache/tika/TikaIT.java 
b/tika-core/src/test/java/org/apache/tika/TikaIT.java
index 17b617eab4..597d2a9074 100644
--- a/tika-core/src/test/java/org/apache/tika/TikaIT.java
+++ b/tika-core/src/test/java/org/apache/tika/TikaIT.java
@@ -27,8 +27,10 @@ public class TikaIT {
     public void testToString() {
         String version = new Tika().toString();
         assertNotNull(version);
-        assertTrue(
-                version.matches("Apache Tika 
\\d+\\.\\d+\\.\\d+(-(?:ALPHA|BETA)\\d*)?(?:-SNAPSHOT)?"));
+        assertTrue(version.matches(
+                "Apache Tika \\d+\\.\\d+\\.\\d+"
+                        + 
"(?:-(?:ALPHA|BETA)\\d*|-(?:alpha|beta|milestone|rc)-\\d+)?"
+                        + "(?:-SNAPSHOT)?"));
     }
 
 }

Reply via email to