summaryrefslogtreecommitdiff
path: root/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T10.js
diff options
context:
space:
mode:
authorAndré Bargull <andre.bargull@gmail.com>2018-02-09 09:09:47 -0800
committerLeo Balter <leonardo.balter@gmail.com>2018-02-09 12:09:47 -0500
commitf95b56ab28c5f18150f30fbfa889a4f6ba0e50a1 (patch)
treed403f704c1b6a1842f12df380651919beaaf5fef /test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T10.js
parenta01de4a722d088055a7d84d8c691ddd7109edb34 (diff)
downloadqtdeclarative-testsuites-f95b56ab28c5f18150f30fbfa889a4f6ba0e50a1.tar.gz
Revert "js-beautify: make all indentation consistent (depth & character) (#1409)" (#1412)
This reverts commit a01de4a722d088055a7d84d8c691ddd7109edb34.
Diffstat (limited to 'test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T10.js')
-rw-r--r--test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T10.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T10.js b/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T10.js
index c1391358e..74b3895c5 100644
--- a/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T10.js
+++ b/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T10.js
@@ -7,17 +7,13 @@ es5id: 15.5.4.5_A1_T10
description: Call charCodeAt() function with object argument
---*/
-var __obj = {
- toString: function() {
- return 1;
- }
-}
+var __obj = {toString:function(){return 1;}}
var __str = "lego";
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
-if (__str.charCodeAt(__obj) !== 0x65) {
- $ERROR('#1: var __obj = {toString:function(){return 1;}}; var __str = "lego"; __str.charCodeAt(__obj) === 0x65. Actual: ' + __str.charCodeAt(__obj));
-}
+ if (__str.charCodeAt(__obj) !== 0x65) {
+ $ERROR('#1: var __obj = {toString:function(){return 1;}}; var __str = "lego"; __str.charCodeAt(__obj) === 0x65. Actual: '+__str.charCodeAt(__obj) );
+ }
//
//////////////////////////////////////////////////////////////////////////////