aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist/bytecode
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/javassist/bytecode')
-rw-r--r--src/test/javassist/bytecode/BytecodeTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/javassist/bytecode/BytecodeTest.java b/src/test/javassist/bytecode/BytecodeTest.java
index 5ddf5d5b..7aef1cce 100644
--- a/src/test/javassist/bytecode/BytecodeTest.java
+++ b/src/test/javassist/bytecode/BytecodeTest.java
@@ -354,6 +354,9 @@ public class BytecodeTest extends TestCase {
assertEquals("I", ainfo2.descriptor(i));
}
print("**** end ***");
+
+ assertEquals("this", ainfo2.variableNameByIndex(0));
+ assertEquals("i", ainfo2.variableNameByIndex(1));
}
public void testAnnotations() throws Exception {