diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2018-10-30 12:03:41 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2018-11-09 20:27:20 +0800 |
commit | 1357913180fcce97c447d1d5e3acbf0bbcc39b8c (patch) | |
tree | 6cb54d0e9187dbce3ce959507f4397e72a5dd2cf /test/parallel/test-whatwg-url-custom-parsing.js | |
parent | 8caade8bb7e7157bd066851d69886646dbd6c5c3 (diff) | |
download | android-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-whatwg-url-custom-parsing.js')
-rw-r--r-- | test/parallel/test-whatwg-url-custom-parsing.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/parallel/test-whatwg-url-custom-parsing.js b/test/parallel/test-whatwg-url-custom-parsing.js index 252e35c8d3..34d9062087 100644 --- a/test/parallel/test-whatwg-url-custom-parsing.js +++ b/test/parallel/test-whatwg-url-custom-parsing.js @@ -12,7 +12,9 @@ const URL = require('url').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') +); const originalFailures = tests.filter((test) => test.failure); |