@@ -92,7 +92,7 @@ The test checks functionality in the `http` module.
9292Most tests use the ` assert ` module to confirm expectations of the test.
9393
9494The require statements are sorted in
95- [ ASCII] ( http://man7.org/linux/man-pages/man7/ascii.7.html ) order (digits, upper
95+ [ ASCII] [ ] order (digits, upper
9696case, ` _ ` , lower case).
9797
9898### ** Lines 10-21**
@@ -231,9 +231,9 @@ assert.throws(
231231For performance considerations, we only use a selected subset of ES.Next
232232features in JavaScript code in the ` lib ` directory. However, when writing
233233tests, for the ease of backporting, it is encouraged to use those ES.Next
234- features that can be used directly without a flag in [ all maintained branches ]
235- ( https://github.com/nodejs/lts ). [ node.green] ( http://node.green/ ) lists
236- available features in each release.
234+ features that can be used directly without a flag in
235+ [ all maintained branches ] [ ] . [ node.green] [ ] lists available features
236+ in each release.
237237
238238For example:
239239
@@ -258,8 +258,7 @@ functions worked correctly with the `beforeExit` event, then it might be named
258258### Web Platform Tests
259259
260260Some of the tests for the WHATWG URL implementation (named
261- ` test-whatwg-url-*.js ` ) are imported from the
262- [ Web Platform Tests Project] ( https://github.com/w3c/web-platform-tests/tree/master/url ) .
261+ ` test-whatwg-url-*.js ` ) are imported from the [ Web Platform Tests Project] [ ] .
263262These imported tests will be wrapped like this:
264263
265264``` js
@@ -332,13 +331,17 @@ $ make cctest
332331```
333332
334333### Node test fixture
335- There is a [ test fixture] named ` node_test_fixture.h ` which can be included by
334+ There is a [ test fixture] [ ] named ` node_test_fixture.h ` which can be included by
336335unit tests. The fixture takes care of setting up the Node.js environment
337336and tearing it down after the tests have finished.
338337
339338It also contains a helper to create arguments to be passed into Node.js. It
340339will depend on what is being tested if this is required or not.
341340
341+ [ ASCII ] : http://man7.org/linux/man-pages/man7/ascii.7.html
342342[ Google Test ] : https://github.com/google/googletest
343- [ Test fixture ] : https://github.com/google/googletest/blob /master/googletest/docs/Primer.md#test-fixtures-using-the-same-data-configuration-for-multiple-tests
343+ [ Web Platform Tests Project ] : https://github.com/w3c/web-platform-tests/tree /master/url
344344[ `common` module ] : https://github.com/nodejs/node/blob/master/test/common/README.md
345+ [ all maintained branches ] : https://github.com/nodejs/lts
346+ [ node.green ] : http://node.green/
347+ [ test fixture ] : https://github.com/google/googletest/blob/master/googletest/docs/Primer.md#test-fixtures-using-the-same-data-configuration-for-multiple-tests
0 commit comments