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 Myles Borins committed Feb 18, 2016
1 parent d6dbb2f commit d67ab81
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 d67ab81

Please sign in to comment.