From abde9d76f89409d9b248723636ba47b01badf50c Mon Sep 17 00:00:00 2001 From: Krishnan Mahadevan Date: Mon, 14 Nov 2022 09:06:05 +0530 Subject: [PATCH] Changing assertion message of the osgitest --- .../src/test/java/org/testng/test/osgi/PlainOsgiTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testng-test-osgi/src/test/java/org/testng/test/osgi/PlainOsgiTest.java b/testng-test-osgi/src/test/java/org/testng/test/osgi/PlainOsgiTest.java index a4c76439a2..6f8635a695 100644 --- a/testng-test-osgi/src/test/java/org/testng/test/osgi/PlainOsgiTest.java +++ b/testng-test-osgi/src/test/java/org/testng/test/osgi/PlainOsgiTest.java @@ -34,6 +34,6 @@ public void versionShouldStartWithDigit() throws Exception { assertThat(version) .matches( (v) -> String.valueOf(v).length() > 0 && Character.isDigit(String.valueOf(v).charAt(0)), - "Version.getVersionString() should start with a digit"); + "Version.getVersionString() should start with a digit but was " + version); } }