Skip to content
Snippets Groups Projects
Commit 18c1e799 authored by Yusuke Suzuki's avatar Yusuke Suzuki Committed by Rick Waldron
Browse files

Prefer spaces to tabs if it is not syntax related tests

This patch changes tabs to spaces for newly added tests.
parent 6d5a7adf
No related branches found
No related tags found
No related merge requests found
...@@ -70,8 +70,8 @@ function getReport() { ...@@ -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() { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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"); ...@@ -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');
} }
// //
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment