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:
Yusuke Suzuki 2018-02-09 03:04:02 +09:00 committed by Rick Waldron
parent 6d5a7adf4e
commit 18c1e799a0
9 changed files with 11 additions and 11 deletions

View File

@ -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");
} }

View File

@ -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");
} }

View File

@ -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;
} }
} }
} }

View File

@ -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;
} }
} }
} }

View File

@ -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;
} }
} }
} }

View File

@ -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;
} }
} }
} }

View File

@ -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;
} }
} }
} }

View File

@ -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;
} }
} }
} }

View File

@ -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');
} }
// //
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////