test262/test/intl402/Collator/10.1.1_20.js

13 lines
484 B
JavaScript

// Copyright 2012 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 10.1.1_20
description: Tests that the option sensitivity is processed correctly.
author: Norbert Lindenberg
includes: [testIntl.js]
---*/
// the fallback is variant only for usage === sort, but that happens to be the fallback for usage
testOption(Intl.Collator, "sensitivity", "string", ["base", "accent", "case", "variant"], "variant");