aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist/JvstTest4.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2011-11-04 14:01:56 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2011-11-04 14:01:56 +0000
commit716fb49d201cf5d8628c7217edb6c0f4f255e218 (patch)
tree5394a02654e94393fe58c9eb05d7f72f7115e3e1 /src/test/javassist/JvstTest4.java
parentbfc16920e4eb12db5df1e6175e77e3b3c81e37b2 (diff)
downloadjavassist-716fb49d201cf5d8628c7217edb6c0f4f255e218.tar.gz
javassist-716fb49d201cf5d8628c7217edb6c0f4f255e218.zip
fixed JASSIST-146
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@595 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/test/javassist/JvstTest4.java')
-rw-r--r--src/test/javassist/JvstTest4.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/javassist/JvstTest4.java b/src/test/javassist/JvstTest4.java
index 67c229fa..93177f6e 100644
--- a/src/test/javassist/JvstTest4.java
+++ b/src/test/javassist/JvstTest4.java
@@ -122,7 +122,8 @@ public class JvstTest4 extends JvstTestRoot {
cc2.rebuildClassFile();
cc2.writeFile();
Object obj = make(cc.getName());
- assertEquals(4, invoke(obj, "run"));
+ assertEquals("test4.Rename2", obj.getClass().getName());
+ assertEquals(14, invoke(obj, "run"));
}
public void testRename2() throws Exception {