Skip to content

Commit

Permalink
test: fix redeclared test-intl var
Browse files Browse the repository at this point in the history
PR-URL: #4988
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
Trott authored and rvagg committed Feb 8, 2016
1 parent e98772d commit 87b27c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-intl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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?';
Expand Down

0 comments on commit 87b27c9

Please sign in to comment.