Commits

Ilmari Vacklin  committed 64159f5

Fix tests.

  • Participants
  • Parent commits 894085f

Comments (0)

Files changed (2)

File src/test/java/net/wolverian/march/CommandLineIT.java

     public static class SuccessfulRun extends BaseCommandLineIT {
         @Test
         public void shouldBuildArtifact() throws IOException {
-            assertThat(builtFiles(project.resolve("target")), hasItem(endsWith(".jar")));
+            assertThat(builtFiles(project), hasItem(endsWith(".jar")));
         }
 
         @Test

File src/test/java/net/wolverian/march/builders/MavenIT.java

     public void shouldBuildIntoTarget() {
         getMaven().in(path).build();
 
-        assertThat(builtFiles(path.resolve("target")), hasItem(endsWith(".class")));
+        assertThat(builtFiles(path), hasItem(endsWith(".class")));
     }
 
     protected abstract Maven getMaven();