Skip to content

Commit 3e18658

Browse files
committed
rename tests
1 parent 37aeb4a commit 3e18658

File tree

61 files changed

+763
-763
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+763
-763
lines changed

tests/baselines/reference/emitter.asyncGenerators.classMethods.esnext.js renamed to tests/baselines/reference/emitter.asyncGenerators.classMethods.es2018.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//// [tests/cases/conformance/emitter/esnext/asyncGenerators/emitter.asyncGenerators.classMethods.esnext.ts] ////
1+
//// [tests/cases/conformance/emitter/es2018/asyncGenerators/emitter.asyncGenerators.classMethods.es2018.ts] ////
22

33
//// [C1.ts]
44
class C1 {

tests/baselines/reference/emitter.asyncGenerators.classMethods.esnext.symbols renamed to tests/baselines/reference/emitter.asyncGenerators.classMethods.es2018.symbols

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C1.ts ===
1+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C1.ts ===
22
class C1 {
33
>C1 : Symbol(C1, Decl(C1.ts, 0, 0))
44

55
async * f() {
66
>f : Symbol(C1.f, Decl(C1.ts, 0, 10))
77
}
88
}
9-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C2.ts ===
9+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C2.ts ===
1010
class C2 {
1111
>C2 : Symbol(C2, Decl(C2.ts, 0, 0))
1212

@@ -17,7 +17,7 @@ class C2 {
1717
>x : Symbol(x, Decl(C2.ts, 2, 13))
1818
}
1919
}
20-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C3.ts ===
20+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C3.ts ===
2121
class C3 {
2222
>C3 : Symbol(C3, Decl(C3.ts, 0, 0))
2323

@@ -28,7 +28,7 @@ class C3 {
2828
>x : Symbol(x, Decl(C3.ts, 2, 13))
2929
}
3030
}
31-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C4.ts ===
31+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C4.ts ===
3232
class C4 {
3333
>C4 : Symbol(C4, Decl(C4.ts, 0, 0))
3434

@@ -39,7 +39,7 @@ class C4 {
3939
>x : Symbol(x, Decl(C4.ts, 2, 13))
4040
}
4141
}
42-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C5.ts ===
42+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C5.ts ===
4343
class C5 {
4444
>C5 : Symbol(C5, Decl(C5.ts, 0, 0))
4545

@@ -50,7 +50,7 @@ class C5 {
5050
>x : Symbol(x, Decl(C5.ts, 2, 13))
5151
}
5252
}
53-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C6.ts ===
53+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C6.ts ===
5454
class C6 {
5555
>C6 : Symbol(C6, Decl(C6.ts, 0, 0))
5656

@@ -61,7 +61,7 @@ class C6 {
6161
>x : Symbol(x, Decl(C6.ts, 2, 13))
6262
}
6363
}
64-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C7.ts ===
64+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C7.ts ===
6565
class C7 {
6666
>C7 : Symbol(C7, Decl(C7.ts, 0, 0))
6767

@@ -71,7 +71,7 @@ class C7 {
7171
return 1;
7272
}
7373
}
74-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C8.ts ===
74+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C8.ts ===
7575
class C8 {
7676
>C8 : Symbol(C8, Decl(C8.ts, 0, 0))
7777

@@ -87,7 +87,7 @@ class C8 {
8787
>g : Symbol(C8.g, Decl(C8.ts, 0, 10))
8888
}
8989
}
90-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C9.ts ===
90+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C9.ts ===
9191
class B9 {
9292
>B9 : Symbol(B9, Decl(C9.ts, 0, 0))
9393

tests/baselines/reference/emitter.asyncGenerators.classMethods.esnext.types renamed to tests/baselines/reference/emitter.asyncGenerators.classMethods.es2018.types

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C1.ts ===
1+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C1.ts ===
22
class C1 {
33
>C1 : C1
44

55
async * f() {
66
>f : () => AsyncIterableIterator<any>
77
}
88
}
9-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C2.ts ===
9+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C2.ts ===
1010
class C2 {
1111
>C2 : C2
1212

@@ -18,7 +18,7 @@ class C2 {
1818
>yield : any
1919
}
2020
}
21-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C3.ts ===
21+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C3.ts ===
2222
class C3 {
2323
>C3 : C3
2424

@@ -31,7 +31,7 @@ class C3 {
3131
>1 : 1
3232
}
3333
}
34-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C4.ts ===
34+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C4.ts ===
3535
class C4 {
3636
>C4 : C4
3737

@@ -45,7 +45,7 @@ class C4 {
4545
>1 : 1
4646
}
4747
}
48-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C5.ts ===
48+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C5.ts ===
4949
class C5 {
5050
>C5 : C5
5151

@@ -62,7 +62,7 @@ class C5 {
6262
>1 : 1
6363
}
6464
}
65-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C6.ts ===
65+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C6.ts ===
6666
class C6 {
6767
>C6 : C6
6868

@@ -75,7 +75,7 @@ class C6 {
7575
>1 : 1
7676
}
7777
}
78-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C7.ts ===
78+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C7.ts ===
7979
class C7 {
8080
>C7 : C7
8181

@@ -86,7 +86,7 @@ class C7 {
8686
>1 : 1
8787
}
8888
}
89-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C8.ts ===
89+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C8.ts ===
9090
class C8 {
9191
>C8 : C8
9292

@@ -103,7 +103,7 @@ class C8 {
103103
>g : () => void
104104
}
105105
}
106-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/C9.ts ===
106+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/C9.ts ===
107107
class B9 {
108108
>B9 : B9
109109

tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.esnext.js renamed to tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2018.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//// [tests/cases/conformance/emitter/esnext/asyncGenerators/emitter.asyncGenerators.functionDeclarations.esnext.ts] ////
1+
//// [tests/cases/conformance/emitter/es2018/asyncGenerators/emitter.asyncGenerators.functionDeclarations.es2018.ts] ////
22

33
//// [F1.ts]
44
async function * f1() {

tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.esnext.symbols renamed to tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2018.symbols

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
1-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F1.ts ===
1+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F1.ts ===
22
async function * f1() {
33
>f1 : Symbol(f1, Decl(F1.ts, 0, 0))
44
}
5-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F2.ts ===
5+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F2.ts ===
66
async function * f2() {
77
>f2 : Symbol(f2, Decl(F2.ts, 0, 0))
88

99
const x = yield;
1010
>x : Symbol(x, Decl(F2.ts, 1, 9))
1111
}
12-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F3.ts ===
12+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F3.ts ===
1313
async function * f3() {
1414
>f3 : Symbol(f3, Decl(F3.ts, 0, 0))
1515

1616
const x = yield 1;
1717
>x : Symbol(x, Decl(F3.ts, 1, 9))
1818
}
19-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F4.ts ===
19+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F4.ts ===
2020
async function * f4() {
2121
>f4 : Symbol(f4, Decl(F4.ts, 0, 0))
2222

2323
const x = yield* [1];
2424
>x : Symbol(x, Decl(F4.ts, 1, 9))
2525
}
26-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F5.ts ===
26+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F5.ts ===
2727
async function * f5() {
2828
>f5 : Symbol(f5, Decl(F5.ts, 0, 0))
2929

3030
const x = yield* (async function*() { yield 1; })();
3131
>x : Symbol(x, Decl(F5.ts, 1, 9))
3232
}
33-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F6.ts ===
33+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F6.ts ===
3434
async function * f6() {
3535
>f6 : Symbol(f6, Decl(F6.ts, 0, 0))
3636

3737
const x = await 1;
3838
>x : Symbol(x, Decl(F6.ts, 1, 9))
3939
}
40-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F7.ts ===
40+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F7.ts ===
4141
async function * f7() {
4242
>f7 : Symbol(f7, Decl(F7.ts, 0, 0))
4343

tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.esnext.types renamed to tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2018.types

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F1.ts ===
1+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F1.ts ===
22
async function * f1() {
33
>f1 : () => AsyncIterableIterator<any>
44
}
5-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F2.ts ===
5+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F2.ts ===
66
async function * f2() {
77
>f2 : () => AsyncIterableIterator<any>
88

99
const x = yield;
1010
>x : any
1111
>yield : any
1212
}
13-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F3.ts ===
13+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F3.ts ===
1414
async function * f3() {
1515
>f3 : () => AsyncIterableIterator<number>
1616

@@ -19,7 +19,7 @@ async function * f3() {
1919
>yield 1 : any
2020
>1 : 1
2121
}
22-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F4.ts ===
22+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F4.ts ===
2323
async function * f4() {
2424
>f4 : () => AsyncIterableIterator<number>
2525

@@ -29,7 +29,7 @@ async function * f4() {
2929
>[1] : number[]
3030
>1 : 1
3131
}
32-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F5.ts ===
32+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F5.ts ===
3333
async function * f5() {
3434
>f5 : () => AsyncIterableIterator<number>
3535

@@ -42,7 +42,7 @@ async function * f5() {
4242
>yield 1 : any
4343
>1 : 1
4444
}
45-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F6.ts ===
45+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F6.ts ===
4646
async function * f6() {
4747
>f6 : () => AsyncIterableIterator<any>
4848

@@ -51,7 +51,7 @@ async function * f6() {
5151
>await 1 : 1
5252
>1 : 1
5353
}
54-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F7.ts ===
54+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F7.ts ===
5555
async function * f7() {
5656
>f7 : () => AsyncIterableIterator<number>
5757

tests/baselines/reference/emitter.asyncGenerators.functionExpressions.esnext.js renamed to tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2018.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//// [tests/cases/conformance/emitter/esnext/asyncGenerators/emitter.asyncGenerators.functionExpressions.esnext.ts] ////
1+
//// [tests/cases/conformance/emitter/es2018/asyncGenerators/emitter.asyncGenerators.functionExpressions.es2018.ts] ////
22

33
//// [F1.ts]
44
const f1 = async function * () {

tests/baselines/reference/emitter.asyncGenerators.functionExpressions.esnext.symbols renamed to tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2018.symbols

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
1-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F1.ts ===
1+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F1.ts ===
22
const f1 = async function * () {
33
>f1 : Symbol(f1, Decl(F1.ts, 0, 5))
44
}
5-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F2.ts ===
5+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F2.ts ===
66
const f2 = async function * () {
77
>f2 : Symbol(f2, Decl(F2.ts, 0, 5))
88

99
const x = yield;
1010
>x : Symbol(x, Decl(F2.ts, 1, 9))
1111
}
12-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F3.ts ===
12+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F3.ts ===
1313
const f3 = async function * () {
1414
>f3 : Symbol(f3, Decl(F3.ts, 0, 5))
1515

1616
const x = yield 1;
1717
>x : Symbol(x, Decl(F3.ts, 1, 9))
1818
}
19-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F4.ts ===
19+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F4.ts ===
2020
const f4 = async function * () {
2121
>f4 : Symbol(f4, Decl(F4.ts, 0, 5))
2222

2323
const x = yield* [1];
2424
>x : Symbol(x, Decl(F4.ts, 1, 9))
2525
}
26-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F5.ts ===
26+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F5.ts ===
2727
const f5 = async function * () {
2828
>f5 : Symbol(f5, Decl(F5.ts, 0, 5))
2929

3030
const x = yield* (async function*() { yield 1; })();
3131
>x : Symbol(x, Decl(F5.ts, 1, 9))
3232
}
33-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F6.ts ===
33+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F6.ts ===
3434
const f6 = async function * () {
3535
>f6 : Symbol(f6, Decl(F6.ts, 0, 5))
3636

3737
const x = await 1;
3838
>x : Symbol(x, Decl(F6.ts, 1, 9))
3939
}
40-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F7.ts ===
40+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F7.ts ===
4141
const f7 = async function * () {
4242
>f7 : Symbol(f7, Decl(F7.ts, 0, 5))
4343

tests/baselines/reference/emitter.asyncGenerators.functionExpressions.esnext.types renamed to tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2018.types

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F1.ts ===
1+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F1.ts ===
22
const f1 = async function * () {
33
>f1 : () => AsyncIterableIterator<any>
44
>async function * () {} : () => AsyncIterableIterator<any>
55
}
6-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F2.ts ===
6+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F2.ts ===
77
const f2 = async function * () {
88
>f2 : () => AsyncIterableIterator<any>
99
>async function * () { const x = yield;} : () => AsyncIterableIterator<any>
@@ -12,7 +12,7 @@ const f2 = async function * () {
1212
>x : any
1313
>yield : any
1414
}
15-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F3.ts ===
15+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F3.ts ===
1616
const f3 = async function * () {
1717
>f3 : () => AsyncIterableIterator<number>
1818
>async function * () { const x = yield 1;} : () => AsyncIterableIterator<number>
@@ -22,7 +22,7 @@ const f3 = async function * () {
2222
>yield 1 : any
2323
>1 : 1
2424
}
25-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F4.ts ===
25+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F4.ts ===
2626
const f4 = async function * () {
2727
>f4 : () => AsyncIterableIterator<number>
2828
>async function * () { const x = yield* [1];} : () => AsyncIterableIterator<number>
@@ -33,7 +33,7 @@ const f4 = async function * () {
3333
>[1] : number[]
3434
>1 : 1
3535
}
36-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F5.ts ===
36+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F5.ts ===
3737
const f5 = async function * () {
3838
>f5 : () => AsyncIterableIterator<number>
3939
>async function * () { const x = yield* (async function*() { yield 1; })();} : () => AsyncIterableIterator<number>
@@ -47,7 +47,7 @@ const f5 = async function * () {
4747
>yield 1 : any
4848
>1 : 1
4949
}
50-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F6.ts ===
50+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F6.ts ===
5151
const f6 = async function * () {
5252
>f6 : () => AsyncIterableIterator<any>
5353
>async function * () { const x = await 1;} : () => AsyncIterableIterator<any>
@@ -57,7 +57,7 @@ const f6 = async function * () {
5757
>await 1 : 1
5858
>1 : 1
5959
}
60-
=== tests/cases/conformance/emitter/esnext/asyncGenerators/F7.ts ===
60+
=== tests/cases/conformance/emitter/es2018/asyncGenerators/F7.ts ===
6161
const f7 = async function * () {
6262
>f7 : () => AsyncIterableIterator<number>
6363
>async function * () { return 1;} : () => AsyncIterableIterator<number>

tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.esnext.js renamed to tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2018.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//// [tests/cases/conformance/emitter/esnext/asyncGenerators/emitter.asyncGenerators.objectLiteralMethods.esnext.ts] ////
1+
//// [tests/cases/conformance/emitter/es2018/asyncGenerators/emitter.asyncGenerators.objectLiteralMethods.es2018.ts] ////
22

33
//// [O1.ts]
44
const o1 = {

0 commit comments

Comments
 (0)