summaryrefslogtreecommitdiff
path: root/test/known_issues
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2018-10-30 12:03:41 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2018-11-09 20:27:20 +0800
commit1357913180fcce97c447d1d5e3acbf0bbcc39b8c (patch)
tree6cb54d0e9187dbce3ce959507f4397e72a5dd2cf /test/known_issues
parent8caade8bb7e7157bd066851d69886646dbd6c5c3 (diff)
downloadnode-new-1357913180fcce97c447d1d5e3acbf0bbcc39b8c.tar.gz
test: use URL fixtures under test/fixtures/wpt/url/resources
Removes the following files: - test/fixtures/url-tests.js - test/fixtures/url-setter-tests.js - test/fixtures/url-toascii.js in favor of: - test/fixtures/wpt/url/resources/urltestdata.json - test/fixtures/wpt/url/resources/setters_tests.json - test/fixtures/wpt/url/resources/toascii.json Also removes dependency of `fixtures/url-tests.js` in http2 tests and use `fixtures/person-large.jpg` instead since they are just looking for a big enough file to transfer. PR-URL: https://github.com/nodejs/node/pull/24035 Refs: https://github.com/nodejs/node/issues/23192 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Diffstat (limited to 'test/known_issues')
-rw-r--r--test/known_issues/test-url-parse-conformance.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/known_issues/test-url-parse-conformance.js b/test/known_issues/test-url-parse-conformance.js
index fe3aa718ea..7be8c16099 100644
--- a/test/known_issues/test-url-parse-conformance.js
+++ b/test/known_issues/test-url-parse-conformance.js
@@ -5,7 +5,9 @@ require('../common');
const url = require('url');
const assert = require('assert');
const fixtures = require('../common/fixtures');
-const tests = require(fixtures.path('url-tests'));
+const tests = require(
+ fixtures.path('wpt', 'url', 'resources', 'urltestdata.json')
+);
let failed = 0;
let attempted = 0;