mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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>
This commit is contained in:
1 parent
d6dbb2fae7
commit
d67ab81882
1 file changed
+2
-2
@@ -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?';
|
||||
|
||||
Reference in new issue
Block a user