Skip to content

Commit

Permalink
Initialize Parser before executing the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed May 20, 2024
1 parent 5cc50de commit 8ab9362
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rust/parser/generate-java/src/bin/java-tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ fn main() {
println!("import java.nio.ByteOrder;");
println!();
println!("class GeneratedFormatTests {{");
println!(" private static final Object INIT = {package}.Parser.create();");
println!(" private static java.util.Vector<byte[]> accept;");
println!(" private static java.util.Vector<byte[]> reject;");
for (i, case) in cases.accept.iter().enumerate() {
Expand Down

0 comments on commit 8ab9362

Please sign in to comment.