mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 05:55:36 +02:00
Prefer spaces to tabs if it is not syntax related tests
This patch changes tabs to spaces for newly added tests.
This commit is contained in:
parent
6d5a7adf4e
commit
18c1e799a0
@ -70,8 +70,8 @@ function getReport() {
|
|||||||
function waitUntil(ia, k, value) {
|
function waitUntil(ia, k, value) {
|
||||||
var i = 0;
|
var i = 0;
|
||||||
while (Atomics.load(ia, k) !== value && i < 15) {
|
while (Atomics.load(ia, k) !== value && i < 15) {
|
||||||
$262.agent.sleep(100);
|
$262.agent.sleep(100);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
assert.sameValue(Atomics.load(ia, k), value, "All agents are running");
|
assert.sameValue(Atomics.load(ia, k), value, "All agents are running");
|
||||||
}
|
}
|
||||||
|
@ -69,8 +69,8 @@ function getReport() {
|
|||||||
function waitUntil(ia, k, value) {
|
function waitUntil(ia, k, value) {
|
||||||
var i = 0;
|
var i = 0;
|
||||||
while (Atomics.load(ia, k) !== value && i < 15) {
|
while (Atomics.load(ia, k) !== value && i < 15) {
|
||||||
$262.agent.sleep(100);
|
$262.agent.sleep(100);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
assert.sameValue(Atomics.load(ia, k), value, "All agents are running");
|
assert.sameValue(Atomics.load(ia, k), value, "All agents are running");
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ class outer {
|
|||||||
var self = this;
|
var self = this;
|
||||||
return class inner {
|
return class inner {
|
||||||
g() {
|
g() {
|
||||||
return self.#x;
|
return self.#x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ class Outer {
|
|||||||
// private field `#x` is resolvable.
|
// private field `#x` is resolvable.
|
||||||
return class {
|
return class {
|
||||||
f() {
|
f() {
|
||||||
return this.#x;
|
return this.#x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ class Outer {
|
|||||||
return class extends Outer {
|
return class extends Outer {
|
||||||
#x = 'not42';
|
#x = 'not42';
|
||||||
f() {
|
f() {
|
||||||
return self.#x;
|
return self.#x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ class Outer {
|
|||||||
// private field `#x` is resolvable.
|
// private field `#x` is resolvable.
|
||||||
return class {
|
return class {
|
||||||
f() {
|
f() {
|
||||||
this.#x = 1;
|
this.#x = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ class Outer {
|
|||||||
return class extends Outer {
|
return class extends Outer {
|
||||||
#x = 'not42';
|
#x = 'not42';
|
||||||
f() {
|
f() {
|
||||||
self.#x = 1;
|
self.#x = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ class outer {
|
|||||||
var self = this;
|
var self = this;
|
||||||
return class inner {
|
return class inner {
|
||||||
g() {
|
g() {
|
||||||
return self.#x;
|
return self.#x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ var funcA = eval("function __func\u0041(__arg){return __arg;}; __funcA");
|
|||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
if (typeof funcA !== "function") {
|
if (typeof funcA !== "function") {
|
||||||
$ERROR('#1: unicode symbols in function name are allowed');
|
$ERROR('#1: unicode symbols in function name are allowed');
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user