blob: 3d49601db80229c3b0dea6711ac5bf0c2ab4cf34 [file] [log] [blame]
// 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);