"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 TruthyMatchError = (function (_super) {
__extends(TruthyMatchError, _super);
function TruthyMatchError(actualValue, shouldMatch) {
_super.call(this, actualValue, true, "Expected " + JSON.stringify(actualValue) + " " + (!shouldMatch ? "not " : "") + "to be truthy.");
}
return TruthyMatchError;
}(match_error_1.MatchError));
exports.TruthyMatchError = TruthyMatchError;
//# sourceMappingURL=truthy-match-error.js.map |