diff options
Diffstat (limited to 'src/test/java')
3 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/org/shedlang/compiler/backends/llvm/LlvmPatioExampleTests.java b/src/test/java/org/shedlang/compiler/backends/llvm/LlvmPatioExampleTests.java index bb9ef76a..d2eb006e 100644 --- a/src/test/java/org/shedlang/compiler/backends/llvm/LlvmPatioExampleTests.java +++ b/src/test/java/org/shedlang/compiler/backends/llvm/LlvmPatioExampleTests.java @@ -24,6 +24,6 @@ public class LlvmPatioExampleTests extends ExampleTests { @Override protected boolean isDisabled(String testName) { - return !List.of("hello-world", "true", "val", "val-as-namespace-statement").contains(testName); + return !List.of("hello-world", "string-add", "true", "val", "val-as-namespace-statement").contains(testName); } } diff --git a/src/test/java/org/shedlang/compiler/backends/wasm/WasmPatioExampleTests.java b/src/test/java/org/shedlang/compiler/backends/wasm/WasmPatioExampleTests.java index 459ab9d4..3000076b 100644 --- a/src/test/java/org/shedlang/compiler/backends/wasm/WasmPatioExampleTests.java +++ b/src/test/java/org/shedlang/compiler/backends/wasm/WasmPatioExampleTests.java @@ -24,6 +24,6 @@ public class WasmPatioExampleTests extends ExampleTests { @Override protected boolean isDisabled(String testName) { - return !List.of("hello-world", "true", "val", "val-as-namespace-statement").contains(testName); + return !List.of("hello-world", "string-add", "true", "val", "val-as-namespace-statement").contains(testName); } } diff --git a/src/test/java/org/shedlang/compiler/patio/PatioCodeGenIntAddTests.java b/src/test/java/org/shedlang/compiler/patio/PatioCodeGenIntAddTests.java index 5969a9cf..328707a9 100644 --- a/src/test/java/org/shedlang/compiler/patio/PatioCodeGenIntAddTests.java +++ b/src/test/java/org/shedlang/compiler/patio/PatioCodeGenIntAddTests.java @@ -14,8 +14,8 @@ import static org.shedlang.compiler.patio.PatioTesting.serialize; @ExtendWith({SnapshotResolver.class}) public class PatioCodeGenIntAddTests { @Test - public void intAddGeneratesIntAddInstruction(Snapshotter snapshotter) throws IOException { - var stackIr = Instructions.intAdd(); + public void canGenerateCodeForStringAdd(Snapshotter snapshotter) throws IOException { + var stackIr = Instructions.stringAdd(); var context = PatioCodeGenContext.EMPTY .temporaryPush(new PatioLocalRef("a")) .temporaryPush(new PatioLocalRef("b")) |
