From a41210014047577e508d1723a7144abdbb5283db Mon Sep 17 00:00:00 2001 From: SiboVG Date: Thu, 2 Feb 2023 02:20:02 +0000 Subject: [PATCH] Add additional debug messages --- .../test/net/sf/openrocket/communication/WelcomeInfoTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/test/net/sf/openrocket/communication/WelcomeInfoTest.java b/core/test/net/sf/openrocket/communication/WelcomeInfoTest.java index 529c7ee23..b209c0726 100644 --- a/core/test/net/sf/openrocket/communication/WelcomeInfoTest.java +++ b/core/test/net/sf/openrocket/communication/WelcomeInfoTest.java @@ -17,8 +17,8 @@ public class WelcomeInfoTest extends BaseTestCase { public void testWelcomeInfo() throws Exception { // Test the welcome info for the current build version String welcomeInfo = WelcomeInfoRetriever.retrieveWelcomeInfo(); - assertNotNull(welcomeInfo); - assertTrue(welcomeInfo.length() > 0); + assertNotNull("Current release version not present in release notes", welcomeInfo); + assertTrue("Body of release notes is empty", welcomeInfo.length() > 0); // Test the release info for a bogus release version welcomeInfo = WelcomeInfoRetriever.retrieveWelcomeInfo("bogus release");