From aa6320f5ba166afb6cff1a73350e1a517064a0d5 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 126122a7b3589b..21ae1022a3c769 100644 --- a/doc/guides/writing-tests.md +++ b/doc/guides/writing-tests.md @@ -72,6 +72,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 6-17**