summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/literals/boolean/S7.8.2_A1_T1.js
blob: 3884b64de367f7968c5d308fc887769f49a007a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: "Literal :: BooleanLiteral"
es5id: 7.8.2_A1_T1
description: "BooleanLiteral :: true"
---*/

//CHECK#1
if (Boolean(true) !== true) {
  throw new Test262Error('#1: Boolean(true) === true. Actual: Boolean(true) === ' + (Boolean(true)));
}

reportCompare(0, 0);