Skip to content

Commit 0bcef23

Browse files
Run Java tests on generated schemas in stefgen on Github
We have testcases in stefgen/generator/testdata which currently generate Go and Java code from schemas, but only run Go tests. We need to also run Java tests. The action sets up both Go and Java, builds stefgen using Go, generates Java code from schemas using stefgen, then runs Java tests. #114
1 parent 924b8a4 commit 0bcef23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stefgen/templates/java/oneof.java.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class {{ .StructName }} {
4848
private final int value;
4949

5050
Type(int value) {
51-
this.value = value;
51+
this.value = value;a
5252
}
5353

5454
public int getValue() {

0 commit comments

Comments
 (0)