test262/test/suite/intl402/ch10/10.3/10.3.2_1_a_L15.js
Norbert Lindenberg 8cad7d03ce Added tests for requirements imposed on the built-in objects of the ECMAScript Internationalization API Specification by the introduction of chapter 15 of the ECMAScript Language Specification.
- Removed some old tests that were redundant with the new tests.
- Added testBuiltInObject.js as standard include for all console tests in test262.py – see related bug 574.
2012-08-26 20:48:49 -07:00

15 lines
497 B
JavaScript

// Copyright 2012 Mozilla Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.
/**
* @description Tests that the function returned by Intl.Collator.prototype.compare
* meets the requirements for built-in objects defined by the introduction of
* chapter 15 of the ECMAScript Language Specification.
* @author Norbert Lindenberg
*/
$INCLUDE("testBuiltInObject.js");
testBuiltInObject(new Intl.Collator().compare, true, false, [], 2);