Skip to content

Commit 3ec2f84

Browse files
committed
spotless
1 parent f463e6d commit 3ec2f84

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/java/org/apache/maven/plugins/deploy/DeployMojoTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,10 @@ public void testLegacyAltDeploymentRepositoryWithLegacyLayout(DeployMojo mojo) t
199199
MojoException.class,
200200
() -> mojo.getDeploymentRepository(true),
201201
"Should throw: Invalid legacy syntax and layout for repository.");
202-
assertEquals( "Invalid legacy syntax and layout for repository.", e.getMessage() );
202+
assertEquals("Invalid legacy syntax and layout for repository.", e.getMessage());
203203
assertEquals(
204204
"Invalid legacy syntax and layout for alternative repository. Use \"altDeploymentRepository::http://localhost\" instead, and only default layout is supported.",
205-
e.getLongMessage() );
205+
e.getLongMessage());
206206
}
207207

208208
@Test
@@ -215,10 +215,10 @@ public void testInsaneAltDeploymentRepository(DeployMojo mojo) throws IllegalAcc
215215
MojoException.class,
216216
() -> mojo.getDeploymentRepository(true),
217217
"Should throw: Invalid legacy syntax and layout for repository.");
218-
assertEquals( "Invalid legacy syntax and layout for repository.", e.getMessage() );
218+
assertEquals("Invalid legacy syntax and layout for repository.", e.getMessage());
219219
assertEquals(
220220
"Invalid legacy syntax and layout for alternative repository. Use \"altDeploymentRepository::wow::foo::http://localhost\" instead, and only default layout is supported.",
221-
e.getLongMessage() );
221+
e.getLongMessage());
222222
}
223223

224224
@Test
@@ -242,10 +242,10 @@ public void testLegacyScmSvnAltDeploymentRepository(DeployMojo mojo) throws Ille
242242
MojoException.class,
243243
() -> mojo.getDeploymentRepository(true),
244244
"Should throw: Invalid legacy syntax and layout for repository.");
245-
assertEquals( "Invalid legacy syntax and layout for repository.", e.getMessage() );
245+
assertEquals("Invalid legacy syntax and layout for repository.", e.getMessage());
246246
assertEquals(
247247
"Invalid legacy syntax and layout for alternative repository. Use \"altDeploymentRepository::scm:svn:http://localhost\" instead, and only default layout is supported.",
248-
e.getLongMessage() );
248+
e.getLongMessage());
249249
}
250250

251251
@Test

0 commit comments

Comments
 (0)