From d9a225aa0edc1a7ce17a4168c6d321173a0546a0 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 4 Nov 2024 12:21:41 -0800 Subject: [PATCH] Cleaned up examples --- README.md | 2 +- examples/src/bld/java/com/example/ExamplesBuild.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68147ed..f6c381f 100755 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ To run mutation tests and coverage, add the following to your build file: public void pit() throws Exception { new PitestOperation() .fromProject(this) - .reportDir(Path.of("reports", "mutations").toString()) + .reportDir(Path.of("reports", "mutations")) .targetClasses(pkg + ".*") .targetTests(pkg + ".*") .verbose(true) diff --git a/examples/src/bld/java/com/example/ExamplesBuild.java b/examples/src/bld/java/com/example/ExamplesBuild.java index 514542b..39b10c7 100644 --- a/examples/src/bld/java/com/example/ExamplesBuild.java +++ b/examples/src/bld/java/com/example/ExamplesBuild.java @@ -42,7 +42,7 @@ public class ExamplesBuild extends Project { public void pit() throws Exception { new PitestOperation() .fromProject(this) - .reportDir(Path.of("reports", "mutations").toString()) + .reportDir(Path.of("reports", "mutations")) .targetClasses(pkg + ".*") .targetTests(pkg + ".*") .verbose(true)