Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Sep 18, 2019
1 parent 4fd1b3e commit f015dda
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 40 deletions.
Expand Up @@ -28,9 +28,9 @@ class Foo {
foo = 0; bar = 1;

#foo;
#foo = 1;
static #foo;
static #foo = Foo.#foo;
#foo2 = 1;
static #foo3;
static #foo4 = Foo.#foo;
}

class A1 {
Expand Down
Expand Up @@ -27,9 +27,9 @@ class Foo {
foo = 0;
bar = 1;
#foo;
#foo = 1;
static #foo;
static #foo = Foo.#foo;
#foo2 = 1;
static #foo3;
static #foo4 = Foo.#foo;
}

class A1 {
Expand Down Expand Up @@ -69,4 +69,4 @@ class A6 {
class A7 {
static get static() {}

}
}
Expand Up @@ -6,13 +6,13 @@ class Foo {
set foo(bar) {}

async #foo() {}
#foo() {}
get #foo() {}
set #foo(bar) {}
* #foo() {}
async * #foo() {}
get #bar() {}
set #baz(taz) {}
#foo2() {}
get #foo3() {}
set #foo3(bar) {}
* #foo4() {}
async * #foo5() {}
get #bar6() {}
set #baz6(taz) {}

static async foo() {}
static foo() {}
Expand All @@ -23,13 +23,13 @@ class Foo {
static * foo() {}
static async * foo() {}

static #foo() {}
static async #foo() {}
static #foo7() {}
static async #foo8() {}
static ["foo"]() {}
static get #foo() {}
static set #foo(taz) {}
static * #foo() {}
static async * #foo() {}
static get #foo9() {}
static set #foo9(taz) {}
static * #foo10() {}
static async * #foo11() {}

get
() {}
Expand Down
Expand Up @@ -11,19 +11,19 @@ class Foo {

async #foo() {}

#foo() {}
#foo2() {}

get #foo() {}
get #foo3() {}

set #foo(bar) {}
set #foo3(bar) {}

*#foo() {}
*#foo4() {}

async *#foo() {}
async *#foo5() {}

get #bar() {}
get #bar6() {}

set #baz(taz) {}
set #baz6(taz) {}

static async foo() {}

Expand All @@ -41,19 +41,19 @@ class Foo {

static async *foo() {}

static #foo() {}
static #foo7() {}

static async #foo() {}
static async #foo8() {}

static ["foo"]() {}

static get #foo() {}
static get #foo9() {}

static set #foo(taz) {}
static set #foo9(taz) {}

static *#foo() {}
static *#foo10() {}

static async *#foo() {}
static async *#foo11() {}

get() {}

Expand Down
@@ -1,3 +1,3 @@
{
"throws": "Duplicate private field"
"throws": "Duplicate private name #getSet"
}
@@ -1,3 +1,3 @@
{
"throws": "Duplicate private field"
"throws": "Duplicate private name #foo"
}
@@ -1,3 +1,3 @@
{
"throws": "Duplicate private field"
"throws": "Duplicate private name #foo"
}
@@ -1,3 +1,3 @@
{
"throws": "Duplicate private field"
"throws": "Duplicate private name #dank"
}
@@ -1,3 +1,3 @@
{
"throws": "Duplicate private field"
"throws": "Duplicate private name #foo"
}
@@ -1,3 +1,3 @@
{
"throws": "Duplicate private field"
"throws": "Duplicate private name #foo"
}
@@ -1,3 +1,3 @@
{
"throws": "Duplicate private field"
"throws": "Duplicate private name #getSet"
}

0 comments on commit f015dda

Please sign in to comment.