This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch split in repository https://gitbox.apache.org/repos/asf/maven-pmd-plugin.git
commit f79e42b5d66110e1b2968653f3da78d3fc9f619c Author: Elliotte Rusty Harold <elh...@ibiblio.org> AuthorDate: Sun Apr 20 08:32:50 2025 -0400 grammar --- src/test/java/org/apache/maven/plugins/pmd/CpdReportTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/maven/plugins/pmd/CpdReportTest.java b/src/test/java/org/apache/maven/plugins/pmd/CpdReportTest.java index a07e195..22d853d 100644 --- a/src/test/java/org/apache/maven/plugins/pmd/CpdReportTest.java +++ b/src/test/java/org/apache/maven/plugins/pmd/CpdReportTest.java @@ -211,7 +211,7 @@ public class CpdReportTest extends AbstractPmdReportTestCase { public void testCpdJavascriptConfiguration() throws Exception { generateReport(getGoal(), "default-configuration/cpd-javascript-plugin-config.xml"); - // verify the generated file to exist and violations are reported + // verify the generated file exists and violations are reported File generatedFile = new File(getBasedir(), "target/test/unit/default-configuration/target/cpd.xml"); assertTrue(new File(generatedFile.getAbsolutePath()).exists()); String str = readFile(generatedFile); @@ -222,7 +222,7 @@ public class CpdReportTest extends AbstractPmdReportTestCase { public void testCpdJspConfiguration() throws Exception { generateReport(getGoal(), "default-configuration/cpd-jsp-plugin-config.xml"); - // verify the generated file to exist and violations are reported + // verify the generated file exists and violations are reported File generatedFile = new File(getBasedir(), "target/test/unit/default-configuration/target/cpd.xml"); assertTrue(new File(generatedFile.getAbsolutePath()).exists()); String str = readFile(generatedFile); @@ -233,7 +233,7 @@ public class CpdReportTest extends AbstractPmdReportTestCase { public void testExclusionsConfiguration() throws Exception { generateReport(getGoal(), "default-configuration/cpd-report-cpd-exclusions-configuration-plugin-config.xml"); - // verify the generated file to exist and no duplications are reported + // verify the generated file exists and no duplications are reported File generatedFile = new File(getBasedir(), "target/test/unit/default-configuration/target/cpd.xml"); assertTrue(new File(generatedFile.getAbsolutePath()).exists()); String str = readFile(generatedFile);