1 2 3 4 5 6 7 8 9 | 1× 1× 1× 27× 1× | import { MatchError } from "./match-error";
export class EqualMatchError extends MatchError {
public constructor(actualValue: any, expectedValue: any, shouldMatch: boolean) {
super(actualValue, expectedValue, `Expected ${JSON.stringify(actualValue)} ${!shouldMatch ? "not ": ""}to be equal to ${JSON.stringify(expectedValue)}.`);
}
}
|