Inject a per-runable pretty printer into MatchersUtil
This will allow us to add support for custom object formatters, which will be a per-runable resource like custom matchers, by injecting them into the pretty-printer.
This commit is contained in:
committed by
Steve Gravrock
parent
dec67bd535
commit
1f23f1e4d2
@@ -141,7 +141,7 @@ getJasmineRequireObj().Expectation = function(j$) {
|
||||
args = args.slice();
|
||||
args.unshift(true);
|
||||
args.unshift(matcherName);
|
||||
return util.buildFailureMessage.apply(null, args);
|
||||
return util.buildFailureMessage.apply(util, args);
|
||||
}
|
||||
|
||||
function negate(result) {
|
||||
|
||||
Reference in New Issue
Block a user