From 099eef6a847ccd526a82dbc892a85565bf11985c Mon Sep 17 00:00:00 2001 From: marsonya Date: Tue, 23 Feb 2021 00:47:58 +0530 Subject: [PATCH] doc: apply sentence case to headers in doc/guides PR-URL: https://github.com/nodejs/node/pull/37478 Reviewed-By: Rich Trott Reviewed-By: Darshan Sen Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- doc/guides/technical-values.md | 2 +- doc/guides/using-internal-errors.md | 2 +- doc/guides/writing-tests.md | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/guides/technical-values.md b/doc/guides/technical-values.md index 5b634b5db83280..1f074409dbe680 100644 --- a/doc/guides/technical-values.md +++ b/doc/guides/technical-values.md @@ -65,7 +65,7 @@ Some key elements of this include: * Low-friction policies and processes * Good CI and tooling to make maintainers productive -### 5 - Up to date Technology and APIs +### 5 - Up to date technology and APIs We value providing developers with modern APIs and technologies following existing standards whenever possible. Some key elements of this include: diff --git a/doc/guides/using-internal-errors.md b/doc/guides/using-internal-errors.md index 9fac1298a1d050..fe7bafb7be6827 100644 --- a/doc/guides/using-internal-errors.md +++ b/doc/guides/using-internal-errors.md @@ -1,4 +1,4 @@ -# Using the internal/errors.js Module +# Using the internal/errors.js module ## What is internal/errors.js diff --git a/doc/guides/writing-tests.md b/doc/guides/writing-tests.md index 993c20f6aa681c..62524cfd3e620b 100644 --- a/doc/guides/writing-tests.md +++ b/doc/guides/writing-tests.md @@ -229,7 +229,7 @@ argument. It is not a good idea to simply pass `common.mustCall()` to those because `common.mustCall()` will ignore the error. Use `common.mustSucceed()` instead. -#### Countdown Module +#### Countdown module The common [Countdown module](https://github.com/nodejs/node/tree/HEAD/test/common#countdown-module) provides a simple countdown mechanism for tests that require a particular @@ -345,7 +345,7 @@ in each release, such as: * Template literals over string concatenation * Arrow functions when appropriate -## Naming Test Files +## Naming test files Test files are named using kebab casing. The first component of the name is `test`. The second is the module or subsystem being tested. The third is usually @@ -357,13 +357,13 @@ named `test-process-before-exit.js`. If the test specifically checked that arrow functions worked correctly with the `beforeExit` event, then it might be named `test-process-before-exit-arrow-functions.js`. -## Imported Tests +## Imported tests -### Web Platform Tests +### Web platform tests See [`test/wpt`](../../test/wpt/README.md) for more information. -## C++ Unit test +## C++ unit test C++ code can be tested using [Google Test][]. Most features in Node.js can be tested using the methods described previously in this document. But there are @@ -444,7 +444,7 @@ and tearing it down after the tests have finished. It also contains a helper to create arguments to be passed into Node.js. It will depend on what is being tested if this is required or not. -### Test Coverage +### Test coverage To generate a test coverage report, see the [Test Coverage section of the Building guide][].