diff --git a/src/__tests__/json-validation.spec.ts b/src/__tests__/json-validation.spec.ts
index 8dab379..677a696 100644
--- a/src/__tests__/json-validation.spec.ts
+++ b/src/__tests__/json-validation.spec.ts
@@ -47,7 +47,11 @@ describe("json-validation", () => {
});
it("should not handle invalid json", () => {
expectErrors('{"foo": "example" "bar": 123}', [
- [undefined, undefined, "Expected `object` but received `null`"],
+ [
+ undefined,
+ undefined,
+ "Expected object
but received null
",
+ ],
]);
});
it("should provide range for invalid multiline json", () => {
@@ -65,7 +69,13 @@ describe("json-validation", () => {
"foo": "example",
"object": {}
}`,
- [[46, 48, "The required property `foo` is missing at `object`"]],
+ [
+ [
+ 46,
+ 48,
+ "The required property foo
is missing at object
",
+ ],
+ ],
testSchema2
);
});