Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / String / prototype / toLocaleUpperCase / S15.5.4.19_A1_T3.js
blob23b5df7c2ea4c0170a952c2dd0175c1fd59708f9
1 // Copyright 2009 the Sputnik authors.  All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 info: String.prototype.toLocaleUpperCase()
6 es5id: 15.5.4.19_A1_T3
7 description: Checking by using eval
8 ---*/
10 //////////////////////////////////////////////////////////////////////////////
11 //CHECK#1
12 if (eval("\"bj\"").toLocaleUpperCase() !== "BJ") {
13   throw new Test262Error('#1: eval("\\"bj\\"").toLocaleUpperCase() === "BJ". Actual: ' + eval("\"bj\"").toLocaleUpperCase());
16 //////////////////////////////////////////////////////////////////////////////
18 reportCompare(0, 0);