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

/**
 * @path intl402/ch13/13.3/13.3.1.js
 * @description Tests that Intl.DateTimeFormat.prototype.constructor is the
 * Intl.DateTimeFormat.
 * @author: Roozbeh Pournader
 */

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

  if (Intl.DateTimeFormat.prototype.constructor !== Intl.DateTimeFormat) {
    $ERROR("Intl.DateTimeFormat.prototype.constructor is not the same as "
          +"Intl.DateTimeFormat");
  }
  
  return true;
}
runTestCase(testcase);