summaryrefslogtreecommitdiff
path: root/test/parallel/test-icu-punycode.js
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/parallel/test-icu-punycode.js
parent8caade8bb7e7157bd066851d69886646dbd6c5c3 (diff)
downloadandroid-node-v8-1357913180fcce97c447d1d5e3acbf0bbcc39b8c.tar.gz
android-node-v8-1357913180fcce97c447d1d5e3acbf0bbcc39b8c.tar.bz2
android-node-v8-1357913180fcce97c447d1d5e3acbf0bbcc39b8c.zip
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/parallel/test-icu-punycode.js')
-rw-r--r--test/parallel/test-icu-punycode.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/parallel/test-icu-punycode.js b/test/parallel/test-icu-punycode.js
index 3744891ee0..2501b1d86e 100644
--- a/test/parallel/test-icu-punycode.js
+++ b/test/parallel/test-icu-punycode.js
@@ -10,7 +10,10 @@ const icu = internalBinding('icu');
const assert = require('assert');
const tests = require('../fixtures/url-idna.js');
-const wptToASCIITests = require('../fixtures/url-toascii.js');
+const fixtures = require('../common/fixtures');
+const wptToASCIITests = require(
+ fixtures.path('wpt', 'url', 'resources', 'toascii.json')
+);
{
for (const [i, { ascii, unicode }] of tests.entries()) {