diff options
author | abouthiroppy <git@about-hiroppy.com> | 2017-01-09 07:14:16 +0900 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-01-10 09:10:36 -0800 |
commit | c61d9bade0a90c9ad1a7c53637d1bdd80d6fbe63 (patch) | |
tree | 63717943685de595b3676920051c6b14671e8bad /test/doctool/test-doctool-html.js | |
parent | 85a90340e1997ab3be61720abbb2df247cf1c597 (diff) | |
download | android-node-v8-c61d9bade0a90c9ad1a7c53637d1bdd80d6fbe63.tar.gz android-node-v8-c61d9bade0a90c9ad1a7c53637d1bdd80d6fbe63.tar.bz2 android-node-v8-c61d9bade0a90c9ad1a7c53637d1bdd80d6fbe63.zip |
test: refactor test-doctool-html.js
PR-URL: https://github.com/nodejs/node/pull/10696
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'test/doctool/test-doctool-html.js')
-rw-r--r-- | test/doctool/test-doctool-html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/doctool/test-doctool-html.js b/test/doctool/test-doctool-html.js index 0179aaf24e..e5c825aebb 100644 --- a/test/doctool/test-doctool-html.js +++ b/test/doctool/test-doctool-html.js @@ -74,7 +74,7 @@ const testData = [ }, ]; -testData.forEach(function(item) { +testData.forEach((item) => { // Normalize expected data by stripping whitespace const expected = item.html.replace(/\s/g, ''); |