ottlinger commented on code in PR #233:
URL: https://github.com/apache/creadur-rat/pull/233#discussion_r1564536412


##########
apache-rat-core/src/test/java/org/apache/rat/ReportTest.java:
##########
@@ -55,9 +61,9 @@ public void testDefaultConfiguration() throws ParseException, 
IOException {
 
     @Test
     public void testOutputOption() throws Exception {
-        CommandLine cl = new DefaultParser().parse(Report.buildOptions(), new 
String[]{ "-o", "target/test" });
+        CommandLine cl = new DefaultParser().parse(Report.buildOptions(), new 
String[] { "-o", "target/test" });
         ReportConfiguration config = 
Report.createConfiguration("target/test-classes/elements", cl);
-        Reporter.report(config);
+        new Reporter(config).output();
         File output = new File("target/test");

Review Comment:
   Should we use jUnit Testfolders here instead?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to