summaryrefslogtreecommitdiff
path: root/tools/test.py
diff options
context:
space:
mode:
authorIan Kronquist <iankronquist@gmail.com>2016-04-03 16:23:23 -0700
committersilverwind <me@silverwind.io>2016-04-29 00:45:49 +0200
commit2e845f85016f4d4b971e534f1f50f0c3416952e3 (patch)
treed502b04d11256e38c46948c999b3c94df45f0e51 /tools/test.py
parentded3aea449d388fad03d96f03722096a33b3743c (diff)
downloadandroid-node-v8-2e845f85016f4d4b971e534f1f50f0c3416952e3.tar.gz
android-node-v8-2e845f85016f4d4b971e534f1f50f0c3416952e3.tar.bz2
android-node-v8-2e845f85016f4d4b971e534f1f50f0c3416952e3.zip
tools: add tests for the doctool
* Test the toHTML function in html.js. Check that given valid markdown it produces the expected html. One test case will prevent regressions of #5873. * Check that when given valid markdown toJSON produces valid JSON with the expected schema. * Add doctool to the list of built in tests so it runs in CI. PR-URL: https://github.com/nodejs/node/pull/6031 Fixes: https://github.com/nodejs/node/issues/5955 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'tools/test.py')
-rwxr-xr-xtools/test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/test.py b/tools/test.py
index 3cd2778930..68141ee1ec 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -1427,6 +1427,7 @@ BUILT_IN_TESTS = [
'addons',
'gc',
'debugger',
+ 'doctool',
]