From aa61f90fb1fb7b026680c6e97cf7cd1f24edbf8d Mon Sep 17 00:00:00 2001 From: Ruben Date: Fri, 25 Oct 2024 14:04:50 +0200 Subject: [PATCH] feat: add Example for HaskellStyle Pattern Matching --- src/test/java/TestComplete.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/TestComplete.java b/src/test/java/TestComplete.java index 26e73bd8..26546098 100644 --- a/src/test/java/TestComplete.java +++ b/src/test/java/TestComplete.java @@ -872,8 +872,8 @@ public class TestComplete { var x = rctor.newInstance(rctor.newInstance(0, rctor.newInstance(0, r2ctor.newInstance(0))), r2ctor.newInstance(0)); var y = rctor.newInstance(r2ctor.newInstance(0), r2ctor.newInstance(0)); - assertEquals(m.invoke(instance, x, y), 10); - assertEquals(m.invoke(instance, y, y), 0); + assertEquals(m.invoke(instance, x, y), null); + assertEquals(m.invoke(instance, y, y), null); }