@@ -40,8 +40,8 @@ static Stream<Arguments> commandLineArguments() {
4040 Arguments .of ("multiple goals" , asList ("clean" , "verify" ), emptyList (), new Properties (), "clean verify" ),
4141 Arguments .of ("single profile" , singletonList ("verify" ), singletonList ("release" ), new Properties (), "verify -Prelease" ),
4242 Arguments .of ("multiple profiles" , singletonList ("verify" ), asList ("release" , "sign" ), new Properties (), "verify -Prelease,sign" ),
43- Arguments .of ("user property" , singletonList ("verify" ), emptyList (), props ("foo" , "bar" ), "verify -Dfoo=bar" ),
44- Arguments .of ("goals, profile and property" , singletonList ("verify" ), singletonList ("release" ), props ("foo" , "bar" ),
43+ Arguments .of ("user property" , singletonList ("verify" ), emptyList (), singletonProperties ("foo" , "bar" ), "verify -Dfoo=bar" ),
44+ Arguments .of ("goals, profile and property" , singletonList ("verify" ), singletonList ("release" ), singletonProperties ("foo" , "bar" ),
4545 "verify -Prelease -Dfoo=bar" )
4646 );
4747 }
@@ -57,7 +57,7 @@ void commandLineTest(final String description, final List<String> goals, final L
5757 assertEquals (expected , BuildDefinitions .commandLine (request ));
5858 }
5959
60- private static Properties props (final String key , final String value ) {
60+ private static Properties singletonProperties (final String key , final String value ) {
6161 Properties p = new Properties ();
6262 p .setProperty (key , value );
6363 return p ;
0 commit comments