Skip to content

Commit

Permalink
Confirming fix for Safari test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMessinger committed Apr 21, 2020
1 parent bd86ecd commit de3b0c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/specs/invalid/invalid.spec.js
Expand Up @@ -162,7 +162,7 @@ describe("Invalid syntax", () => {
message: message => (
message.includes("invalid.json: Unexpected end of JSON input") ||
message.includes("invalid.json: JSON.parse: end of data while reading object contents") || // Firefox
message.includes("invalid.json: JSON.parse error: Expected '}'") || // Safari
message.includes("invalid.json: JSON Parse error: Expected '}'") || // Safari
message.includes("invalid.json: JSON.parse Error: Invalid character") || // Edge
message.includes("invalid.json: Syntax error") // IE
),
Expand Down Expand Up @@ -316,7 +316,7 @@ describe("Invalid syntax", () => {
message: message => (
message.includes("invalid.json: Unexpected end of JSON input") ||
message.includes("invalid.json: JSON.parse: end of data while reading object contents") || // Firefox
message.includes("invalid.json: JSON.parse error: Expected '}'") || // Safari
message.includes("invalid.json: JSON Parse error: Expected '}'") || // Safari
message.includes("invalid.json: JSON.parse Error: Invalid character") || // Edge
message.includes("invalid.json: Syntax error") // IE
),
Expand Down

0 comments on commit de3b0c9

Please sign in to comment.