diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-26 16:04:41 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-26 16:04:41 +0100 |
| commit | 7272bb92deb55a032ef37e6f3f8549793b1e2a3b (patch) | |
| tree | bc00660c6a7b0ecb3a8a39a4947cc5879a284ce5 /src/test/java | |
| parent | fadd0bd1e7eed3320dbcea67aa75a91ac5e62cca (diff) | |
Distinguish sum variant from untagged value in java-transient-0
Diffstat (limited to 'src/test/java')
| -rw-r--r-- | src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java b/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java index fceb6e3..1c77a83 100644 --- a/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java +++ b/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java @@ -52,7 +52,7 @@ public class ExampleTests { var actualBytes = Files.readAllBytes(transient0OutputDir.resolve(name)); if (expectedBytes.isEmpty()) { expectedBytes = Optional.of(actualBytes); - } else if (!name.equals("StructWithSharedSumAndVariant")) { + } else { assertThat(Arrays.equals(actualBytes, expectedBytes.get()), equalTo(true)); } } |
