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