From c33e372446d86e038de9f8e18436984f351c7a26 Mon Sep 17 00:00:00 2001 From: Ruben Date: Fri, 25 Oct 2024 15:58:18 +0200 Subject: [PATCH] feat: change Test-Case --- resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav | 4 ++-- src/test/java/TestComplete.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav b/resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav index eff77af3..88a0cc92 100644 --- a/resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav +++ b/resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav @@ -12,10 +12,10 @@ public class PaternMatchingHaskellStyle { } private handleAppend(a, Elem(e), list2) { - return new LinkedElem<>(a, new LinkedElem<>(e, list2));; + return new LinkedElem<>(a, new LinkedElem<>(e, list2)); } private handleAppend(a, LinkedElem(e,r), list2) { - return new LinkedElem<>(a, append(new LinkedElem(e, r), l2)); + return new LinkedElem<>(a, append(new LinkedElem(e, r), list2)); } } \ No newline at end of file diff --git a/src/test/java/TestComplete.java b/src/test/java/TestComplete.java index d018153d..ce50ae6b 100644 --- a/src/test/java/TestComplete.java +++ b/src/test/java/TestComplete.java @@ -867,7 +867,7 @@ public class TestComplete { var r2ctor = R2.getDeclaredConstructor(Object.class); var instance = clazz.getDeclaredConstructor().newInstance(); - var m = clazz.getDeclaredMethod("append", R, I); + var m = clazz.getDeclaredMethod("append$LLinkedElem$_$LTPH$_$LLinkedElem$_$LTPH$_$", R, Object.class); 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));