Skip to content

Commit

Permalink
Update the copybook parser version
Browse files Browse the repository at this point in the history
  • Loading branch information
DimuthuMadushan committed Nov 8, 2023
1 parent e0636c1 commit 49861f5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ public void testTypeGenerationForInvalidSchema() throws IOException {
copybookCmd.execute();
String output = readOutput(true);
Assert.assertTrue(output.contains(
"Copybook types generation failed: Unsupported picture string I(30) found in copybook schema\n" +
"Unsupported picture string I(10) found in copybook schema"));
"Copybook types generation failed: " +
"Error at line 3, column 28: Unsupported picture string I(30) found in copybook schema\n" +
"Error at line 4, column 28: Unsupported picture string I(10) found in copybook schema"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ public void setup() throws IOException {
}

protected String readOutput(boolean enableLog) throws IOException {
String output = "";
output = this.console.toString();
String output = this.console.toString();
this.console.close();
this.console = new ByteArrayOutputStream();
this.printStream = new PrintStream(this.console);
Expand Down
2 changes: 1 addition & 1 deletion copybook-tool/BalTool.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ path = "build/libs/copybook-cli-0.1.0-SNAPSHOT.jar"
path = "build/libs/antlr4-runtime-4.13.1.jar"

[[dependency]]
path = "build/libs/copybook-commons-0.1.0-SNAPSHOT.jar"
path = "build/libs/copybook-commons-0.1.0-20231108-164500-e5c14a1.jar"
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ checkstylePluginVersion=10.12.0
downloadPluginVersion=5.4.0
ballerinaLangVersion=2201.8.0
picocliVersion=4.7.4
copybookParserVersion=0.1.0-SNAPSHOT
testngVersion=7.7.0
slf4jVersion=2.0.9
antlrVersion=4.13.1
jacocoVersion=0.8.10

# Ballerinax
copybookParserVersion=0.1.0-20231108-164500-e5c14a1

0 comments on commit 49861f5

Please sign in to comment.