Changed 'type' field of MessageResult and ExpectationResult to 'log' and 'expect', respectively.

This commit is contained in:
Lee Byrd & Christian Williams
2010-06-22 14:48:47 -07:00
parent e7cd6a473a
commit e60f22a2e5
8 changed files with 19 additions and 14 deletions

View File

@@ -57,7 +57,7 @@ jasmine.NestedResults.prototype.getItems = function() {
* @param {jasmine.ExpectationResult|jasmine.NestedResults} result
*/
jasmine.NestedResults.prototype.addResult = function(result) {
if (result.type != 'MessageResult') {
if (result.type != 'log') {
if (result.items_) {
this.rollupCounts(result);
} else {