mirror of https://github.com/tc39/test262.git
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) {
|
||||
var i = 0;
|
||||
while (Atomics.load(ia, k) !== value && i < 15) {
|
||||
$262.agent.sleep(100);
|
||||
i++;
|
||||
$262.agent.sleep(100);
|
||||
i++;
|
||||
}
|
||||
assert.sameValue(Atomics.load(ia, k), value, "All agents are running");
|
||||
}
|
||||
|
|
|
@ -69,8 +69,8 @@ function getReport() {
|
|||
function waitUntil(ia, k, value) {
|
||||
var i = 0;
|
||||
while (Atomics.load(ia, k) !== value && i < 15) {
|
||||
$262.agent.sleep(100);
|
||||
i++;
|
||||
$262.agent.sleep(100);
|
||||
i++;
|
||||
}
|
||||
assert.sameValue(Atomics.load(ia, k), value, "All agents are running");
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ class outer {
|
|||
var self = this;
|
||||
return class inner {
|
||||
g() {
|
||||
return self.#x;
|
||||
return self.#x;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ class Outer {
|
|||
// private field `#x` is resolvable.
|
||||
return class {
|
||||
f() {
|
||||
return this.#x;
|
||||
return this.#x;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ class Outer {
|
|||
return class extends Outer {
|
||||
#x = 'not42';
|
||||
f() {
|
||||
return self.#x;
|
||||
return self.#x;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ class Outer {
|
|||
// private field `#x` is resolvable.
|
||||
return class {
|
||||
f() {
|
||||
this.#x = 1;
|
||||
this.#x = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ class Outer {
|
|||
return class extends Outer {
|
||||
#x = 'not42';
|
||||
f() {
|
||||
self.#x = 1;
|
||||
self.#x = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ class outer {
|
|||
var self = this;
|
||||
return class inner {
|
||||
g() {
|
||||
return self.#x;
|
||||
return self.#x;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ var funcA = eval("function __func\u0041(__arg){return __arg;}; __funcA");
|
|||
//////////////////////////////////////////////////////////////////////////////
|
||||
//CHECK#1
|
||||
if (typeof funcA !== "function") {
|
||||
$ERROR('#1: unicode symbols in function name are allowed');
|
||||
$ERROR('#1: unicode symbols in function name are allowed');
|
||||
}
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue