Skip to content

Commit 87b27c9

Browse files
Trottrvagg
authored andcommitted
test: fix redeclared test-intl var
PR-URL: #4988 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent e98772d commit 87b27c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-intl.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ function haveLocale(loc) {
2020
}
2121

2222
if (!haveIntl) {
23-
var erMsg =
23+
const erMsg =
2424
'"Intl" object is NOT present but v8_enable_i18n_support is ' +
2525
enablei18n;
2626
assert.equal(enablei18n, false, erMsg);
2727
console.log('1..0 # Skipped: Intl tests because Intl object not present.');
2828

2929
} else {
30-
var erMsg =
30+
const erMsg =
3131
'"Intl" object is present but v8_enable_i18n_support is ' +
3232
enablei18n +
3333
'. Is this test out of date?';

0 commit comments

Comments
 (0)