From 6194d284f5559acc5f23a402f577bac655878f92 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 14 Jul 2026 18:41:17 +0100 Subject: Rename java-junit to java --- src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/test/java') diff --git a/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java b/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java index ab124a1..9a5a395 100644 --- a/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java +++ b/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java @@ -26,13 +26,12 @@ public class ExampleTests { private void runTest(ExampleSet exampleSet) throws IOException, InterruptedException, NoSuchAlgorithmException { HobgoblinCompiler.compile(exampleSet.path()); - verifyJavaJunitOutput(exampleSet); + verifyJavaOutput(exampleSet); verifyRustOutput(exampleSet); } - private void verifyJavaJunitOutput(ExampleSet exampleSet) throws NoSuchAlgorithmException, IOException, InterruptedException { - // TODO: allow example to declare its structure - verifyOutput(exampleSet, "java-junit", List.of("mvn", "test")); + private void verifyJavaOutput(ExampleSet exampleSet) throws NoSuchAlgorithmException, IOException, InterruptedException { + verifyOutput(exampleSet, "java", List.of("mvn", "test")); } private void verifyRustOutput(ExampleSet exampleSet) throws NoSuchAlgorithmException, IOException, InterruptedException { -- cgit v1.2.3