summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2017-01-04 10:41:54 -0800
committerSam Roberts <vieuxtech@gmail.com>2017-01-11 09:04:04 -0800
commit02b92704448bc2784bd436aea3f97e76f3f0ec16 (patch)
tree411476a2b84306741d846a2c5eac7c148bb52075 /doc
parente9044c83a9b997bde60432cd056d36e3a7d8d1e3 (diff)
downloadandroid-node-v8-02b92704448bc2784bd436aea3f97e76f3f0ec16.tar.gz
android-node-v8-02b92704448bc2784bd436aea3f97e76f3f0ec16.tar.bz2
android-node-v8-02b92704448bc2784bd436aea3f97e76f3f0ec16.zip
doc: sort require statements in tests
PR-URL: https://github.com/nodejs/node/pull/10616 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/guides/writing-tests.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/guides/writing-tests.md b/doc/guides/writing-tests.md
index e1acc3f76d..d1328c70ea 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**