Commit d078f4f3 authored by Remi Forax's avatar Remi Forax

get formatting right !

parent 5074bdc9
...@@ -489,11 +489,14 @@ public class CheckMethodAdapterTest extends AsmTest implements Opcodes { ...@@ -489,11 +489,14 @@ public class CheckMethodAdapterTest extends AsmTest implements Opcodes {
assertThrows( assertThrows(
RuntimeException.class, RuntimeException.class,
() -> checkMethodAdapter.visitLdcInsn(new Handle(-1, "o", "m", "()V", false))); () -> checkMethodAdapter.visitLdcInsn(new Handle(-1, "o", "m", "()V", false)));
checkMethodAdapter.visitLdcInsn(new Handle(Opcodes.H_NEWINVOKESPECIAL, "o", "<init>", "()V", false)); checkMethodAdapter.visitLdcInsn(
new Handle(Opcodes.H_NEWINVOKESPECIAL, "o", "<init>", "()V", false));
assertThrows( assertThrows(
RuntimeException.class, RuntimeException.class,
() -> checkMethodAdapter.visitLdcInsn(new Handle(Opcodes.H_INVOKEVIRTUAL, "o", "<init>", "()V", false))); () ->
checkMethodAdapter.visitLdcInsn(
new Handle(Opcodes.H_INVOKEVIRTUAL, "o", "<init>", "()V", false)));
} }
@Test @Test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment