"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) Eif (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var match_error_1 = require("./match-error");
var FunctionCallMatchError = (function (_super) {
__extends(FunctionCallMatchError, _super);
function FunctionCallMatchError(actualValue, shouldMatch, args) {
_super.call(this, actualValue, "function to be called", "Expected function " + (!shouldMatch ? "not " : "") + "to be called" + (args ? "with [" + args.join(", ") + "]" : "") + ".");
}
return FunctionCallMatchError;
}(match_error_1.MatchError));
exports.FunctionCallMatchError = FunctionCallMatchError;
//# sourceMappingURL=function-call-match-error.js.map |