Skip to content

Commit da984be

Browse files
joyeecheungBethGriggs
authored andcommitted
test: remove reference to whatwg in file names under test/wpt
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: #24826 Refs: #24823 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
1 parent 2825894 commit da984be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/wpt/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $ git node wpt url
4040

4141
### 3. Create the test driver
4242

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

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

7777
```text
78-
$ tools/test.py wpt/test-whatwg-url
78+
$ tools/test.py wpt/test-url
7979
```
8080

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

8484
```text
85-
node --expose-internals test/wpt/test-whatwg-url.js url-searchparams.any.js
85+
node --expose-internals test/wpt/test-url.js url-searchparams.any.js
8686
```
8787

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

0 commit comments

Comments
 (0)