validate that issue 432 is not a problem anymore.
git-svn-id: https://google-guice.googlecode.com/svn/trunk@1499 d779f126-a31b-0410-b53b-1d3aecad763e
diff --git a/core/test/com/google/inject/TypeListenerTest.java b/core/test/com/google/inject/TypeListenerTest.java
index aafd248..e5262d1 100644
--- a/core/test/com/google/inject/TypeListenerTest.java
+++ b/core/test/com/google/inject/TypeListenerTest.java
@@ -598,17 +598,20 @@
encounter.addError("There was an error on %s", type);
encounter.addError(new IllegalArgumentException("whoops!"));
encounter.addError(new Message("And another problem"));
+ encounter.addError(new IllegalStateException());
}
});
}
});
fail();
} catch (CreationException expected) {
+ expected.printStackTrace();
assertContains(expected.getMessage(),
"1) There was an error on com.google.inject.Stage",
"2) An exception was caught and reported. Message: whoops!",
"3) And another problem",
- "3 errors");
+ "4) An exception was caught and reported. Message: null",
+ "4 errors");
}
}