From a5b5bc7fd2a239cde990f38f0795ffbaa94f4f28 Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Thu, 7 Mar 2024 08:21:26 +0100 Subject: [PATCH] Fix test case as there is no empty modul name anymore. --- .../plugins/analysis/warnings/steps/ModuleDetectorITest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/src/test/java/io/jenkins/plugins/analysis/warnings/steps/ModuleDetectorITest.java b/plugin/src/test/java/io/jenkins/plugins/analysis/warnings/steps/ModuleDetectorITest.java index 98e3a70629..20c4a7a089 100644 --- a/plugin/src/test/java/io/jenkins/plugins/analysis/warnings/steps/ModuleDetectorITest.java +++ b/plugin/src/test/java/io/jenkins/plugins/analysis/warnings/steps/ModuleDetectorITest.java @@ -97,11 +97,11 @@ class ModuleDetectorITest extends IntegrationTestWithJenkinsPerSuite { private static final String ANT_BUILD_FILE_LOCATION = "ant/"; private static final String OSGI_BUILD_FILE_LOCATION = "osgi/"; private static final String DEFAULT_DEBUG_LOG_LINE = "Resolving module names from module definitions (build.xml, pom.xml, or Manifest.mf files)"; - private static final String EMPTY_MODULE_NAME = ""; + private static final String EMPTY_MODULE_NAME = "-"; private static final String PROPERTY = "moduleName"; /** - * Verifies that the HTML output is correct if there are OSGI, Maven and Ant modules used within the build. This + * Verifies that the HTML output is correct if there are OSGI, Maven, and Ant modules used within the build. This * test doesn't check for correct precedence in every possible case as this might fail. */ @Test