summaryrefslogtreecommitdiff
path: root/test/built-ins/Date/prototype/setUTCMonth
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Date/prototype/setUTCMonth')
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T1.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T3.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A2_T1.js4
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T2.js2
-rw-r--r--test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T3.js4
6 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T1.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T1.js
index da43ff45f..078ac39c1 100644
--- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T1.js
+++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T1.js
@@ -9,7 +9,7 @@ description: Checking absence of ReadOnly attribute
---*/
var x = Date.prototype.setUTCMonth;
-if (x === 1)
+if(x === 1)
Date.prototype.setUTCMonth = 2;
else
Date.prototype.setUTCMonth = 1;
diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T2.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T2.js
index 9790d9a99..48de38d72 100644
--- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T2.js
+++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T2.js
@@ -8,7 +8,7 @@ es5id: 15.9.5.39_A1_T2
description: Checking absence of DontDelete attribute
---*/
-if (delete Date.prototype.setUTCMonth === false) {
+if (delete Date.prototype.setUTCMonth === false) {
$ERROR('#1: The Date.prototype.setUTCMonth property has not the attributes DontDelete');
}
diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T3.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T3.js
index ed7332bd2..ed6ca3fe1 100644
--- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T3.js
+++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A1_T3.js
@@ -12,8 +12,8 @@ if (Date.prototype.propertyIsEnumerable('setUTCMonth')) {
$ERROR('#1: The Date.prototype.setUTCMonth property has the attribute DontEnum');
}
-for (var x in Date.prototype) {
- if (x === "setUTCMonth") {
+for(var x in Date.prototype) {
+ if(x === "setUTCMonth") {
$ERROR('#2: The Date.prototype.setUTCMonth has the attribute DontEnum');
}
}
diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A2_T1.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A2_T1.js
index 682dd9f72..a4c5d29ed 100644
--- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A2_T1.js
+++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A2_T1.js
@@ -8,10 +8,10 @@ es5id: 15.9.5.39_A2_T1
description: The "length" property of the "setUTCMonth" is 2
---*/
-if (Date.prototype.setUTCMonth.hasOwnProperty("length") !== true) {
+if(Date.prototype.setUTCMonth.hasOwnProperty("length") !== true){
$ERROR('#1: The setUTCMonth has a "length" property');
}
-if (Date.prototype.setUTCMonth.length !== 2) {
+if(Date.prototype.setUTCMonth.length !== 2){
$ERROR('#2: The "length" property of the setUTCMonth is 2');
}
diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T2.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T2.js
index 07e8dda60..82c3bf8b4 100644
--- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T2.js
+++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T2.js
@@ -10,7 +10,7 @@ es5id: 15.9.5.39_A3_T2
description: Checking DontDelete attribute
---*/
-if (delete Date.prototype.setUTCMonth.length !== true) {
+if (delete Date.prototype.setUTCMonth.length !== true) {
$ERROR('#1: The Date.prototype.setUTCMonth.length property does not have the attributes DontDelete');
}
diff --git a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T3.js b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T3.js
index 1fee64d56..d02f44bbe 100644
--- a/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T3.js
+++ b/test/built-ins/Date/prototype/setUTCMonth/S15.9.5.39_A3_T3.js
@@ -14,8 +14,8 @@ if (Date.prototype.setUTCMonth.propertyIsEnumerable('length')) {
$ERROR('#1: The Date.prototype.setUTCMonth.length property has the attribute DontEnum');
}
-for (var x in Date.prototype.setUTCMonth) {
- if (x === "length") {
+for(var x in Date.prototype.setUTCMonth) {
+ if(x === "length") {
$ERROR('#2: The Date.prototype.setUTCMonth.length has the attribute DontEnum');
}
}