diff options
Diffstat (limited to 'src/test/java/org/apache/bcel/generic/InstructionHandleTestCase.java')
-rw-r--r-- | src/test/java/org/apache/bcel/generic/InstructionHandleTestCase.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/apache/bcel/generic/InstructionHandleTestCase.java b/src/test/java/org/apache/bcel/generic/InstructionHandleTestCase.java index aefa8da1..a62c1316 100644 --- a/src/test/java/org/apache/bcel/generic/InstructionHandleTestCase.java +++ b/src/test/java/org/apache/bcel/generic/InstructionHandleTestCase.java @@ -36,7 +36,7 @@ public class InstructionHandleTestCase { public void testsetInstructionI() { final InstructionHandle ih = InstructionHandle.getInstructionHandle(new NOP());// have to start with a valid non BI Assert.assertNotNull(ih); - ih.setInstruction(new NOP()); + ih.setInstruction(new NOP()); Assert.assertNotNull(ih); } @@ -44,13 +44,13 @@ public class InstructionHandleTestCase { public void testsetInstructionnotI() { final InstructionHandle ih = InstructionHandle.getInstructionHandle(new NOP());// have to start with a valid non BI Assert.assertNotNull(ih); - ih.setInstruction(new GOTO(null)); + ih.setInstruction(new GOTO(null)); Assert.assertNotNull(ih); } @Test(expected=ClassGenException.class) public void testGetIHnull() { - InstructionHandle.getInstructionHandle(null); + InstructionHandle.getInstructionHandle(null); } @Test |