File tree Expand file tree Collapse file tree
src/test/java/org/apache/commons/exec Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -453,14 +453,11 @@ void testToString() throws Exception {
453453 */
454454 @ Test
455455 void testToStringTroubleshooting () throws Exception {
456- System .out .println ("testToStringTroubleshooting" );
457456 // On HP-UX quotes handling leads to errors,
458457 // also usage of quotes isn't mandatory on other platforms too
459458 // so it probably should work correctly either way.
460459 final CommandLine cmd1 = new CommandLine ("sh" ).addArgument ("-c" ).addArgument ("echo 1" , false );
461460 final CommandLine cmd2 = new CommandLine ("sh" ).addArgument ("-c" ).addArgument ("echo" ).addArgument ("1" );
462- System .out .println ("cmd1: " + cmd1 .toString ());
463- System .out .println ("cmd2: " + cmd2 .toString ());
464461 assertTrue (!cmd1 .toString ().equals (cmd2 .toString ()), "toString() is useful for troubleshooting" );
465462 }
466463
You can’t perform that action at this time.
0 commit comments