Revision: 1510
Author: sberlin
Date: Mon Feb 28 09:49:54 2011
Log: fix typo, make test not loop forever.
http://code.google.com/p/google-guice/source/detail?r=1510

Modified:
 /trunk/core/test/com/google/inject/MethodInterceptionTest.java

=======================================
--- /trunk/core/test/com/google/inject/MethodInterceptionTest.java Mon Feb 28 07:08:01 2011 +++ /trunk/core/test/com/google/inject/MethodInterceptionTest.java Mon Feb 28 09:49:54 2011
@@ -172,7 +172,7 @@
       fail();
     } catch (Exception e) {
       // validate all causes.
-      for (Throwable t = e; t != null; t = e.getCause()) {
+      for (Throwable t = e; t != null; t = t.getCause()) {
         StackTraceElement[] stackTraceElement = t.getStackTrace();
         assertEquals("explode", stackTraceElement[0].getMethodName());
         assertEquals("invoke", stackTraceElement[1].getMethodName());

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to