From 6504a0fec39ddb42a9e2e73289472bab913d5481 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 30 Jan 2016 20:47:31 -0800 Subject: [PATCH] test: fix redeclared test-intl var MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/4988 Reviewed-By: James M Snell Reviewed-By: Johan Bergström Reviewed-By: Michaël Zasso --- test/parallel/test-intl.js | 4 ++-- 1 file 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?';