Skip to content

Commit fdfde26

Browse files
committed
tests: fix failing test in quickjs
1 parent 19e41c6 commit fdfde26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • test-app/app/src/main/assets/app/shared/Require

test-app/app/src/main/assets/app/shared/Require/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ describe("TNS require", function () {
243243

244244
it("shouldn't load invalid JSON file", function () {
245245
require("./RequireJsonCorruptFile1");
246-
expect(TNSGetOutput()).toMatch(/JSON Parse error|Unexpected token s in JSON at position 1$|JSON Parse error: Unable to parse JSON string$|No identifiers allowed directly after numeric literal$|Unexpected non-whitespace character/);
246+
expect(TNSGetOutput()).toMatch(/unexpected data at the end|JSON Parse error|Unexpected token s in JSON at position 1$|JSON Parse error: Unable to parse JSON string$|No identifiers allowed directly after numeric literal$|Unexpected non-whitespace character/);
247247
});
248248

249249
it("when using global in a module global should be defined", function () {

0 commit comments

Comments
 (0)