New issue 16 by jaco...@google.com: Bad error message with incorrect
throwsError usage
http://code.google.com/p/google-js-test/issues/detail?id=16
The following (incorrect) snippet gives weird error output:
var throwException = function() {
throw {
name: 'SomeException'
}
}
expectThat(throwException(), throwsError());
The output looks like this:
[object Object]