Skip to content

Commit

Permalink
test: remove reference to whatwg in file names under test/wpt
Browse files Browse the repository at this point in the history
WPT covers standards in both W3C and WHATWG, as such it would be
strange to make this disparity explicit in our file names
(e.g. when testing standards that are solely in W3C, like
performance-timeline). Remove the reference to WHATWG will
also make the file names shorter.

PR-URL: nodejs#24826
Refs: nodejs#24823
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
  • Loading branch information
joyeecheung authored and Trott committed Dec 15, 2018
1 parent 87006be commit a96ba1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/wpt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $ git node wpt url

### 3. Create the test driver

For example, for the URL tests, add a file `test/wpt/test-whatwg-url.js`:
For example, for the URL tests, add a file `test/wpt/test-url.js`:

```js
'use strict';
Expand Down Expand Up @@ -75,14 +75,14 @@ Run the test using `tools/test.py` and see if there are any failures.
For example, to run all the URL tests under `test/fixtures/wpt/url`:

```text
$ tools/test.py wpt/test-whatwg-url
$ tools/test.py wpt/test-url
```

To run a specific test in WPT, for example, `url/url-searchparams.any.js`,
pass the file name as argument to the corresponding test driver:

```text
node --expose-internals test/wpt/test-whatwg-url.js url-searchparams.any.js
node --expose-internals test/wpt/test-url.js url-searchparams.any.js
```

If there are any failures, update the corresponding status file
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit a96ba1c

Please sign in to comment.