Content-Length: 283407 | pFad | http://github.com/NativeScript/napi-android/commit/fdfde26eb957c0a9dd81a2a042cf0984b1330460

3C tests: fix failing test in quickjs · NativeScript/napi-android@fdfde26 · GitHub
Skip to content

Commit fdfde26

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

File tree

1 file changed

+1
-1
lines changed
  • test-app/app/src/main/assets/app/shared/Require

1 file changed

+1
-1
lines changed

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

+1-1
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/napi-android/commit/fdfde26eb957c0a9dd81a2a042cf0984b1330460

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy