all files / core/errors/ function-call-match-error.js

92.86% Statements 13/14
45.45% Branches 5/11
75% Functions 3/4
90.91% Lines 10/11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16           
"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