diff options
author | Brent Baker <brbaker@adobe.com> | 2013-06-13 10:07:45 -0400 |
---|---|---|
committer | Brent Baker <brbaker@adobe.com> | 2013-06-13 10:07:45 -0400 |
commit | d5bf1d482fb07af993d36a55f3277e3632a100a5 (patch) | |
tree | 60801cdedbde33e715ea95b9300722bbc544ac30 /test/suite/ch15/15.2/15.2.2/S15.2.2.1_A2_T5.js | |
parent | 87294e3ee24d4be184c4d857cd67f006f1d8c94c (diff) | |
download | test262-d5bf1d482fb07af993d36a55f3277e3632a100a5.tar.gz |
Bug 1128: use Date.prototype.getFullYear() in S15.2.2.1_A2_T5master
Bug 1131: use String.prototype.charAt() in 15.12.3-11-26
Both of these changes were accidentaly dropped when I regenerated patches for these bugs. I have grepped the testsuite to ensure that the annexB functions only appear in the annexB section of the testsuite.
NOTE: Also regenerated the website based on this change. (Still waiting for permission to actually update the live website)
Diffstat (limited to 'test/suite/ch15/15.2/15.2.2/S15.2.2.1_A2_T5.js')
-rw-r--r-- | test/suite/ch15/15.2/15.2.2/S15.2.2.1_A2_T5.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suite/ch15/15.2/15.2.2/S15.2.2.1_A2_T5.js b/test/suite/ch15/15.2/15.2.2/S15.2.2.1_A2_T5.js index a5d3ec350..08e181ca7 100644 --- a/test/suite/ch15/15.2/15.2.2/S15.2.2.1_A2_T5.js +++ b/test/suite/ch15/15.2/15.2.2/S15.2.2.1_A2_T5.js @@ -19,7 +19,7 @@ if (n_obj !== obj) { } //CHECK#2 -if ((n_obj.getYear() !== 78)||(n_obj.getMonth() !== 3)) { +if ((n_obj.getFullYear() !== 1978)||(n_obj.getMonth() !== 3)) { $ERROR('#2: When the Object constructor is called and if the value is an Object simply value returns.'); } |