remove "TypeError: Cannot convert a Symbol value to a string" (#2009)

This commit is contained in:
Frank Yung-Fong Tang 2018-12-19 16:36:10 -08:00 committed by Leo Balter
parent 7054805941
commit dab8c8983a
1 changed files with 1 additions and 3 deletions

View File

@ -14,7 +14,5 @@ features: [Intl.RelativeTimeFormat]
assert.sameValue(typeof Intl.RelativeTimeFormat, "function");
for (const [locales, expectedError] of getInvalidLocaleArguments()) {
assert.throws(expectedError, function() {
new Intl.RelativeTimeFormat(locales)
}, `using ${String(locales)} expects ${expectedError}`);
assert.throws(expectedError, function() { new Intl.RelativeTimeFormat(locales) });
}