From 57cb83dc236c6103057d54591cdbcc8a8309226e Mon Sep 17 00:00:00 2001 From: Keghani Kouzoujian Date: Fri, 21 Apr 2017 12:37:05 +0200 Subject: [PATCH] Fix duplicate variable initialization (#1702) --- javascript/i18n/phonenumbers/phonenumberutil_test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/javascript/i18n/phonenumbers/phonenumberutil_test.js b/javascript/i18n/phonenumbers/phonenumberutil_test.js index 1cca95ed9..f6a3425fd 100644 --- a/javascript/i18n/phonenumbers/phonenumberutil_test.js +++ b/javascript/i18n/phonenumbers/phonenumberutil_test.js @@ -3219,8 +3219,7 @@ function testFailedParseOnInvalidNumbers() { } try { // Only the phone-context symbol is present, but no data. - /** @type {string} */ - var invalidRfcPhoneContext = ';phone-context='; + invalidRfcPhoneContext = ';phone-context='; phoneUtil.parse(invalidRfcPhoneContext, RegionCode.ZZ); fail('Should have thrown an exception, no valid country calling code ' + 'present.');