Fix test, fail in dup2_x1
This commit is contained in:
@@ -138,7 +138,7 @@ public class Dup2_X1 extends Instruction implements DupInstruction
|
||||
else
|
||||
throw new IllegalStateException();
|
||||
|
||||
return ctx.getPushes().get(orig);
|
||||
return ctx.getPops().get(orig);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -609,7 +609,7 @@ public class MultiplicationDeobfuscatorTest
|
||||
d.run(group);
|
||||
|
||||
Assert.assertEquals(1L, constant1.getConstantAsLong());
|
||||
// Assert.assertEquals(1L, constant2.getConstantAsLong());
|
||||
// Assert.assertEquals(1L, constant3.getConstantAsLong());
|
||||
Assert.assertEquals(1L, constant2.getConstantAsLong());
|
||||
Assert.assertEquals(1L, constant3.getConstantAsLong());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user