You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2023/01/02 18:35:13 UTC

[GitHub] [maven-wrapper] bmarwell commented on a diff in pull request #61: Switch to JUnit Jupiter

bmarwell commented on code in PR #61:
URL: https://github.com/apache/maven-wrapper/pull/61#discussion_r1060158379


##########
maven-wrapper/src/test/java/org/apache/maven/wrapper/WrapperExecutorTest.java:
##########
@@ -222,27 +226,27 @@ public void testEnvironmentVariableOverwrite_mvnwRepoUrl_trailingSlash()
 
     WrapperExecutor wrapper = prepareWrapperExecutorWithEnvironmentVariables(environmentVariables);
 
-    Assert.assertEquals( "https://repo/test/path/to/bin.zip", wrapper.getDistribution().toString() );
+    assertEquals( "https://repo/test/path/to/bin.zip", wrapper.getDistribution().toString() );
   }
 
   @Test
-  public void testEnvironmentVariableOverwrite_packageName()
-          throws Exception
+  void testEnvironmentVariableOverwrite_packageName()
+    throws Exception
   {
     final Map<String, String> environmentVariables = new HashMap<>();
     environmentVariables.put( MVNW_REPOURL, "https://repo/test" );
     properties = new Properties();
-    properties.put( "distributionUrl", "https://server/org/apache/maven/to/bin.zip" );
-    writePropertiesFile( properties, propertiesFile, "header" );
+    properties.put("distributionUrl", "https://server/org/apache/maven/to/bin.zip");
+    writePropertiesFile(properties, propertiesFile, "header");

Review Comment:
   Style: you removed whitespace after the opening parenthesis 



-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org