Skip to content

Commit

Permalink
investigating on *Nix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibor17 committed Jan 18, 2022
1 parent 9365aa0 commit 8736018
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -175,6 +175,10 @@ public void testCliArgs() throws Exception
}
assertThat( endOfFileArg ).isPositive();
Path argFile = Paths.get( cliAsString.substring( beginOfFileArg + 1, endOfFileArg ) );
System.out.println( "cliAsString: " + cliAsString );
System.out.println( "beginOfFileArg: " + beginOfFileArg );
System.out.println( "endOfFileArg: " + endOfFileArg );
System.out.println( "argFile: " + argFile );
String argFileText = new String( readAllBytes( argFile ) );
assertThat( argFileText )
.contains( "arg2" )
Expand Down Expand Up @@ -283,7 +287,7 @@ public void testArglineWithNewline()
new StartupConfiguration( "", cpConfig, clc, ALL, Collections.<String[]>emptyList() );

Commandline commandLine = config.createCommandLine( startup, 1, temporaryFolder() );
assertTrue( commandLine.toString().contains( "abc def" ) );
assertThat( commandLine.toString() ).contains( "abc def" );
}

@Test
Expand Down

0 comments on commit 8736018

Please sign in to comment.