all files / core/errors/ equal-match-error.js

100% Statements 14/14
77.78% Branches 7/9
100% Functions 4/4
100% Lines 11/11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16    37×      
"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 _namespace_1 = require("./_namespace");
var EqualMatchError = (function (_super) {
    __extends(EqualMatchError, _super);
    function EqualMatchError(actualValue, expectedValue, shouldMatch) {
        _super.call(this, actualValue, expectedValue, "Expected " + JSON.stringify(actualValue) + " " + (!shouldMatch ? "not " : "") + "to be equal to " + JSON.stringify(expectedValue) + ".");
    }
    return EqualMatchError;
}(_namespace_1.MatchError));
exports.EqualMatchError = EqualMatchError;
//# sourceMappingURL=equal-match-error.js.map