kwin commented on a change in pull request #12:
URL: https://github.com/apache/maven-verifier/pull/12#discussion_r826840623
##########
File path: src/test/java/org/apache/maven/it/VerifierTest.java
##########
@@ -91,22 +99,23 @@ public void testStripAnsi()
{
assertEquals( "--- plugin:version:goal (id) @ artifactId ---",
Verifier.stripAnsi( "\u001B[1m---
\u001B[0;32mplugin:version:goal\u001B[0;1m (id)\u001B[m @ "
- + "\u001B[36martifactId\u001B[0;1m ---\u001B[m" ) );
+ +
"\u001B[36martifactId\u001B[0;1m ---\u001B[m" ) );
}
@Test
public void testLoadPropertiesFNFE() throws VerificationException
{
- exception.expectCause( isA( FileNotFoundException.class) );
+ exception.expectCause( isA( FileNotFoundException.class ) );
Verifier verifier = new Verifier( "src/test/resources" );
verifier.loadProperties( "unknown.properties" );
}
@Test
- public void testDedicatedMavenHome() throws VerificationException,
IOException, URISyntaxException
+ public void testDedicatedMavenHome() throws VerificationException,
IOException
{
- String mavenHome = Paths.get( "src/test/resources/maven-home"
).toAbsolutePath().toString();;
+ String mavenHome = Paths.get( "src/test/resources/maven-home"
).toAbsolutePath().toString();
+ ;
Review comment:
Redundant semicolon
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]