From 83be0e376479aa08f7597876c454ae7d287784cf Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Thu, 21 Nov 2024 05:32:40 -0500 Subject: [PATCH] fix --- .../apache/maven/plugins/checkstyle/CheckstyleReportTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java b/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java index ba85a81c..038839b1 100644 --- a/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java +++ b/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java @@ -136,6 +136,7 @@ private void generateReport(String pluginXml) throws Exception { } File outputDir = mojo.getReportOutputDirectory(); + File useFile = (File) getVariableValueFromObject(mojo, "useFile"); if (useFile != null) { assertTrue("Test useFile exists", useFile.exists());