Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 23 by
rowi...@google.com: Assertions thrown with goog.asserts
don't provide a stack trace.
http://code.google.com/p/google-js-test/issues/detail?id=23
What steps will reproduce the problem?
1. Run the following test.
goog.require('goog.asserts');
function deepFunction() {
goog.asserts.assert(false);
}
function assertFunction() {
deepFunction();
}
function AssertTest() {}
registerTestSuite(AssertTest);
UserInfoTest.prototype.testAssert = function() {
assertFunction();
};
What is the expected output? What do you see instead?
A stack trace with where the assert was thrown.
What version of the product are you using? On what operating system?
asserts.js:61
AssertionError: Assertion failed