Navigation Menu

Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Commit

Permalink
Removing pointless line of code
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Bunsch committed May 11, 2011
1 parent ab598ec commit b54ea73
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/jessie/jasmine.js
Expand Up @@ -44,10 +44,9 @@ jasmine.Spec.prototype.fail = function (e) {
expectationResult.stacktrace.push(line)
}
}
expectationResult.stacktrace = expectationResult.stacktrace
this.results_.addResult(expectationResult);
};


// Modify iterateObject to skip should_ properties
jasmine.PrettyPrinter.prototype.iterateObject = function(obj, fn) {
Expand All @@ -58,7 +57,7 @@ jasmine.PrettyPrinter.prototype.iterateObject = function(obj, fn) {
fn(property, obj.__lookupGetter__ ? (obj.__lookupGetter__(property) != null) : false);
}
};

// Add missing reportSuiteStarting to Suite
jasmine.Suite.prototype.execute = function(onComplete) {
this.env.reporter.reportSuiteStarting(this);
Expand Down

0 comments on commit b54ea73

Please sign in to comment.