diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-14 18:41:17 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-14 18:41:17 +0100 |
| commit | 6194d284f5559acc5f23a402f577bac655878f92 (patch) | |
| tree | ad3a47c59e5d8179911cb2bd0b88ecd520af2842 /src/test | |
| parent | 717cef4b3c757ceefb2a16cdf6c3892cde28b53f (diff) | |
Rename java-junit to java
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java | 7 |
1 files changed, 3 insertions, 4 deletions
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 { |
