From 371d6640d0b9bf9592c851797b2ffe69f92c0381 Mon Sep 17 00:00:00 2001 From: Marc Miltenberger Date: Mon, 21 Oct 2024 10:14:42 +0200 Subject: [PATCH] Fix tests --- .../soot/portedtest/RedundantJimpleStatementsTest.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/test/java/soot/portedtest/RedundantJimpleStatementsTest.java b/src/test/java/soot/portedtest/RedundantJimpleStatementsTest.java index 3880327cb79..092d11c09a8 100644 --- a/src/test/java/soot/portedtest/RedundantJimpleStatementsTest.java +++ b/src/test/java/soot/portedtest/RedundantJimpleStatementsTest.java @@ -248,10 +248,9 @@ public void test09() { "$r3 = staticinvoke (22)", "$r4 = staticinvoke (23)", "$r2 = (MyClass) $r1", - "$r7 = virtualinvoke $r2.($r3, $r4)", - "$r5 = (java.lang.Integer) $r7", - "r6 = $r5", - "$i0 = virtualinvoke r6.()", + "$r6 = virtualinvoke $r2.($r3, $r4)", + "r5 = (java.lang.Integer) $r6", + "$i0 = virtualinvoke r5.()", "return $i0").collect(Collectors.toCollection(ArrayList::new)); SootMethod method = Scene.v().getMethod(""); assertJimpleStmts(method, expectedBodyStmts);