all files / core/errors/ greater-than-match-error.js

92.86% Statements 13/14
55.56% Branches 5/9
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 GreaterThanMatchError = (function (_super) {
    __extends(GreaterThanMatchError, _super);
    function GreaterThanMatchError(actualValue, lowerLimit, shouldMatch) {
        _super.call(this, actualValue, lowerLimit, "Expected " + actualValue + " " + (!shouldMatch ? "not " : "") + "to be greater than " + lowerLimit + ".");
    }
    return GreaterThanMatchError;
}(match_error_1.MatchError));
exports.GreaterThanMatchError = GreaterThanMatchError;
//# sourceMappingURL=greater-than-match-error.js.map