diff --git a/jre_emul/Tests/java/lang/ThrowableTest.java b/jre_emul/Tests/java/lang/ThrowableTest.java
index <HASH>..<HASH> 100644
--- a/jre_emul/Tests/java/lang/ThrowableTest.java
+++ b/jre_emul/Tests/java/lang/ThrowableTest.java
@@ -67,7 +67,7 @@ public class ThrowableTest extends TestCase {
     testException.printStackTrace(out);
     out.flush();
     String trace = baos.toString("UTF-8");
-    assertTrue(trace.contains("[JavaLangThrowableTest testStackTraceWithPrintStream]"));
+    assertTrue(trace.contains("JavaLangThrowableTest.testStackTraceWithPrintStream()"));
   }
 
   public void testStackTraceWithPrintWriter() throws Exception {
@@ -77,6 +77,6 @@ public class ThrowableTest extends TestCase {
     testException.printStackTrace(out);
     out.flush();
     String trace = sw.toString();
-    assertTrue(trace.contains("[JavaLangThrowableTest testStackTraceWithPrintWriter]"));
+    assertTrue(trace.contains("JavaLangThrowableTest.testStackTraceWithPrintWriter()"));
   }
 }
Fixed expected stacktrace output in tests.