From 66b34eac2fe83f2be6fc980c1f1216cff3d2615e Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Wed, 4 Jan 2017 10:41:54 -0800 Subject: [PATCH] doc: sort require statements in tests PR-URL: https://github.com/nodejs/node/pull/10616 Reviewed-By: James M Snell Reviewed-By: Michael Dawson Reviewed-By: Gibson Fahnestock Reviewed-By: Colin Ihrig Reviewed-By: Prince John Wesley --- doc/guides/writing-tests.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/writing-tests.md b/doc/guides/writing-tests.md index 6c2441fa0f012f..c76d600e6ef49e 100644 --- a/doc/guides/writing-tests.md +++ b/doc/guides/writing-tests.md @@ -90,6 +90,9 @@ These modules are required for the test to run. Except for special cases, these modules should only include core modules. The `assert` module is used by most of the tests to check that the assumptions for the test are met. +Note that require statements are sorted, in +[ASCII](http://man7.org/linux/man-pages/man7/ascii.7.html) order (digits, upper +case, `_`, lower case). **Lines 10-21**