aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/intl402/ch11/11.3/11.3.1.js
blob: 2ca03c72648fbb3d1898ff46adc71d3c42c6d6fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2012 Google Inc.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * @path intl402/ch11/11.3/11.3.1.js
 * @description Tests that Intl.Collator.prototype.constructor is the
 * Intl.Collator.
 */

var testcase = function() {
  "use strict";

  if (Intl.Collator.prototype.constructor !== Intl.Collator) {
    $ERROR("Intl.Collator.prototype.constructor is not the same as " +
           "Intl.Collator");
  }

  return true;
}
runTestCase(testcase);