Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Mar 2, 2023
1 parent 7e60f26 commit 1741d32
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ public void testBasicDeployFile(DeployFileMojo mojo) throws Exception {
assertTrue(p2.toString().endsWith(".pom"));

assertNotNull(request.getRepository());
assertEquals(url.replace(File.separator, "/"), request.getRepository().getUrl());
assertEquals(
url.replace(File.separator, "/"), request.getRepository().getUrl());

// check the generated pom
File pom = p2.toFile();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ public void testBasicDeploy(DeployMojo mojo) throws Exception {
new ArtifactStub("org.apache.maven.test", "maven-deploy-test", "", "1.0-SNAPSHOT", "jar"),
new ArtifactStub("org.apache.maven.test", "maven-deploy-test", "", "1.0-SNAPSHOT", "pom"))),
artifacts);
assertEquals(getBasedir().replace(File.separator, "/"), request.getRepository().getUrl());
assertEquals(
getBasedir().replace(File.separator, "/"),
request.getRepository().getUrl());
}

@Test
Expand Down Expand Up @@ -156,7 +158,9 @@ public void testBasicDeployWithPackagingAsPom(DeployMojo mojo) throws Exception
Collections.singleton(
new ArtifactStub("org.apache.maven.test", "maven-deploy-test", "", "1.0-SNAPSHOT", "pom")),
artifacts);
assertEquals(getBasedir().replace(File.separator, "/"), request.getRepository().getUrl());
assertEquals(
getBasedir().replace(File.separator, "/"),
request.getRepository().getUrl());
}

@Test
Expand Down Expand Up @@ -194,7 +198,9 @@ public void testDeployWithAttachedArtifacts(DeployMojo mojo) throws Exception {
new ArtifactStub(
"org.apache.maven.test", "attached-artifact-test", "", "1.0-SNAPSHOT", "jar"))),
artifacts);
assertEquals(getBasedir().replace(File.separator, "/"), request.getRepository().getUrl());
assertEquals(
getBasedir().replace(File.separator, "/"),
request.getRepository().getUrl());
}

@Test
Expand Down

0 comments on commit 1741d32

Please sign in to comment.