summaryrefslogtreecommitdiff
path: root/test/parallel/test-intl.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-01-30 20:47:31 -0800
committerRich Trott <rtrott@gmail.com>2016-02-02 15:10:14 -0800
commit6504a0fec39ddb42a9e2e73289472bab913d5481 (patch)
tree7dffb3d60489794c788a76f507991b10a41a2204 /test/parallel/test-intl.js
parentf48793eb1536d1b55814d17a819f620242d7aa9f (diff)
downloadandroid-node-v8-6504a0fec39ddb42a9e2e73289472bab913d5481.tar.gz
android-node-v8-6504a0fec39ddb42a9e2e73289472bab913d5481.tar.bz2
android-node-v8-6504a0fec39ddb42a9e2e73289472bab913d5481.zip
test: fix redeclared test-intl var
PR-URL: https://github.com/nodejs/node/pull/4988 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Diffstat (limited to 'test/parallel/test-intl.js')
-rw-r--r--test/parallel/test-intl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-intl.js b/test/parallel/test-intl.js
index 1219c33038..551cc01313 100644
--- a/test/parallel/test-intl.js
+++ b/test/parallel/test-intl.js
@@ -20,14 +20,14 @@ function haveLocale(loc) {
}
if (!haveIntl) {
- var erMsg =
+ const erMsg =
'"Intl" object is NOT present but v8_enable_i18n_support is ' +
enablei18n;
assert.equal(enablei18n, false, erMsg);
console.log('1..0 # Skipped: Intl tests because Intl object not present.');
} else {
- var erMsg =
+ const erMsg =
'"Intl" object is present but v8_enable_i18n_support is ' +
enablei18n +
'. Is this test out of date?';