diff --git a/test/intl402/NumberFormat/prototype/toStringTag/initial-value.js b/test/intl402/NumberFormat/prototype/toStringTag/initial-value.js index 71a99695a498426bbc6f7f435215b049fa5ecccd..052662db2b359ad0e7a10f12c4dfa57194fa7229 100644 --- a/test/intl402/NumberFormat/prototype/toStringTag/initial-value.js +++ b/test/intl402/NumberFormat/prototype/toStringTag/initial-value.js @@ -12,3 +12,13 @@ assert.sameValue( Object.prototype.toString.call(new Intl.NumberFormat()), '[object Object]' ); + +Object.defineProperty(Intl.NumberFormat.prototype, Symbol.toStringTag, { + value: 'Alpha' +}); + +assert.sameValue(Intl.NumberFormat.prototype[Symbol.toStringTag], 'Alpha'); +assert.sameValue( + Object.prototype.toString.call(new Intl.NumberFormat()), + '[object Alpha]' +); diff --git a/test/intl402/NumberFormat/prototype/toStringTag/prop-desc.js b/test/intl402/NumberFormat/prototype/toStringTag/prop-desc.js index fdba7a30eb7aca94db99ea7f80a1fcd4151474f9..25fbb74f5f32f587162f1cd3886b0e11d0b6e346 100644 --- a/test/intl402/NumberFormat/prototype/toStringTag/prop-desc.js +++ b/test/intl402/NumberFormat/prototype/toStringTag/prop-desc.js @@ -8,7 +8,7 @@ description: > includes: [propertyHelper.js] ---*/ -verifyProperty(Intl.NumberFormat, Symbol.toStringTag, { +verifyProperty(Intl.NumberFormat.prototype, Symbol.toStringTag, { writable: false, enumerable: false, configurable: true