Skip to content

Commit

Permalink
Merge pull request #1082 from davidburstrom/master-fix-spacing
Browse files Browse the repository at this point in the history
Fix inconsistent spacing in logging
  • Loading branch information
hcoles authored Aug 31, 2022
2 parents b9c908a + eea8dae commit 56eb3c4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public CombinedStatistics runReport() throws IOException {
final MutationEngine engine = this.strategies.factory().createEngine(args);

List<MutationAnalysisUnit> preScanMutations = findMutations(engine, args);
LOG.info("Created " + preScanMutations.size() + " mutation test units in pre scan");
LOG.info("Created " + preScanMutations.size() + " mutation test units in pre scan");

// throw error if configured to do so
checkMutationsFound(preScanMutations);
Expand Down Expand Up @@ -162,7 +162,7 @@ private CombinedStatistics runAnalysis(Runtime runtime, long t0, EngineArguments
engine, args, allInterceptors());
this.timings.registerEnd(Timings.Stage.BUILD_MUTATION_TESTS);

LOG.info("Created " + tus.size() + " mutation test units" );
LOG.info("Created " + tus.size() + " mutation test units" );

recordClassPath(history, coverageData);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private static List<TestUnit> discoverTests(Configuration testPlugin, List<Class
.findTestUnitsForAllSuppliedClasses(classes.stream()
.flatMap(ClassName.nameToClass())
.collect(Collectors.toList()));
LOG.info(() -> "Found " + tus.size() + " tests");
LOG.info(() -> "Found " + tus.size() + " tests");
return tus;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private MutationStatusTestPair handleMutation(
final List<TestUnit> relevantTests) {
final MutationStatusTestPair mutationDetected;
if ((relevantTests == null) || relevantTests.isEmpty()) {
LOG.info(() -> "No test coverage for mutation " + mutationId + " in "
LOG.info(() -> "No test coverage for mutation " + mutationId + " in "
+ mutatedClass.getDetails().getMethod());
mutationDetected = MutationStatusTestPair.notAnalysed(0, DetectionStatus.RUN_ERROR);
} else {
Expand Down

0 comments on commit 56eb3c4

Please sign in to comment.