Skip to content

Commit

Permalink
Revert changes in BuildNativeImageCommandTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinperera00 committed Oct 28, 2024
1 parent 030ec8c commit 46a85bb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void testBuildProjectWithAdditionalArgs() throws IOException {
Path projectPath = this.testResources.resolve("nativeimageProject");
System.setProperty(ProjectConstants.USER_DIR, projectPath.toString());
BuildCommand buildCommand = new BuildCommand(projectPath, printStream, printStream, false,
false, true, "-o " + projectPath + "/hoo");
false, true, "-H:Name=hoo");
// non existing bal file
new CommandLine(buildCommand).parseArgs();
buildCommand.execute();
Expand Down Expand Up @@ -124,7 +124,7 @@ public void testBuildBalFileWithAdditionalArgs() throws IOException {
Path projectPath = this.testResources.resolve("nativeimageSingleFile").resolve("main.bal");
System.setProperty(ProjectConstants.USER_DIR, this.testResources.resolve("valid-test-bal-file").toString());
BuildCommand buildCommand = new BuildCommand(projectPath, printStream, printStream, false,
false, true, "-o " + projectPath + "/hoo");
false, true, "-H:Name=hoo");
new CommandLine(buildCommand).parseArgs(projectPath.toString());
buildCommand.execute();
String buildLog = readOutput(true);
Expand Down

0 comments on commit 46a85bb

Please sign in to comment.