diff options
author | Rich Trott <rtrott@gmail.com> | 2019-11-27 22:56:21 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-11-30 06:28:29 -0800 |
commit | 359766b2c3f686fe4ebe5cd6bc4e99280e09b450 (patch) | |
tree | 7b62141573f19ce6f1e82392f12732cabda30710 /test/es-module | |
parent | 2070d3f8eb14ca9cc5c2e23824b20d700d7183be (diff) | |
download | android-node-v8-359766b2c3f686fe4ebe5cd6bc4e99280e09b450.tar.gz android-node-v8-359766b2c3f686fe4ebe5cd6bc4e99280e09b450.tar.bz2 android-node-v8-359766b2c3f686fe4ebe5cd6bc4e99280e09b450.zip |
benchmark,doc,lib,test: prepare for padding lint rule
Upcoming lint rule will require a blank line between consecutive
functions. Add it in the places where we don't have it already.
PR-URL: https://github.com/nodejs/node/pull/30696
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test/es-module')
-rw-r--r-- | test/es-module/test-esm-data-urls.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/es-module/test-esm-data-urls.js b/test/es-module/test-esm-data-urls.js index 7efe7a1199..30ae55d01f 100644 --- a/test/es-module/test-esm-data-urls.js +++ b/test/es-module/test-esm-data-urls.js @@ -4,6 +4,7 @@ const assert = require('assert'); function createURL(mime, body) { return `data:${mime},${body}`; } + function createBase64URL(mime, body) { return `data:${mime};base64,${Buffer.from(body).toString('base64')}`; } |