diff --git a/test/intl402/DisplayNames/options-type-valid.js b/test/intl402/DisplayNames/options-type-valid.js index 1b8ddda3fd..22566f335d 100644 --- a/test/intl402/DisplayNames/options-type-valid.js +++ b/test/intl402/DisplayNames/options-type-valid.js @@ -21,7 +21,7 @@ info: | ... 11. Let style be ? GetOption(options, "style", "string", « "narrow", "short", "long" », "long"). ... - 13. Let type be ? GetOption(options, "type", "string", « "language", "region", "script", "currency", "weekday", "month", "quarter", "dayPeriod", "dateTimeField" », "language"). + 13. Let type be ? GetOption(options, "type", "string", « "language", "region", "script", "currency" », "language"). ... 15. Let fallback be ? GetOption(options, "fallback", "string", « "code", "none" », "code"). ... @@ -41,12 +41,7 @@ var values = [ 'language', 'region', 'script', - 'currency', - 'weekday', - 'month', - 'quarter', - 'dayPeriod', - 'dateTimeField' + 'currency' ]; for (let valid of values) { diff --git a/test/intl402/DisplayNames/prototype/resolvedOptions/option-type.js b/test/intl402/DisplayNames/prototype/resolvedOptions/option-type.js index ad8dbb2421..764c930108 100644 --- a/test/intl402/DisplayNames/prototype/resolvedOptions/option-type.js +++ b/test/intl402/DisplayNames/prototype/resolvedOptions/option-type.js @@ -35,8 +35,8 @@ info: | %DisplayNames%.[[RelevantExtensionKeys]]). 11. Let style be ? GetOption(options, "style", "string", « "narrow", "short", "long" », "long"). ... - 13. Let type be ? GetOption(options, "type", "string", « "language", "region", "script", "currency", - "weekday", "month", "quarter", "dayPeriod", "dateTimeField" », "language"). + 13. Let type be ? GetOption(options, "type", "string", « "language", "region", "script", "currency"», + "language"). ... 15. Let fallback be ? GetOption(options, "fallback", "string", « "code", "none" », "code"). ... @@ -54,7 +54,7 @@ features: [Intl.DisplayNames] includes: [propertyHelper.js] ---*/ -var types = ['language', 'region', 'script', 'currency', 'weekday', 'month', 'quarter', 'dayPeriod', 'dateTimeField']; +var types = ['language', 'region', 'script', 'currency']; types.forEach(type => { var dn = new Intl.DisplayNames('en-US', { type });