Skip to content

Commit f2c81cc

Browse files
authored
Merge pull request #18426 from amcasey/FixBaselines
Fix fourslash baselines
2 parents 40e4591 + ece4e4f commit f2c81cc

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

tests/baselines/reference/extractMethod/extractMethod23.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace NS {
66
}
77
function M3() { }
88
}
9-
// ==SCOPE::function 'M2'==
9+
// ==SCOPE::inner function in function 'M2'==
1010
namespace NS {
1111
function M1() { }
1212
function M2() {
@@ -18,7 +18,7 @@ namespace NS {
1818
}
1919
function M3() { }
2020
}
21-
// ==SCOPE::namespace 'NS'==
21+
// ==SCOPE::function in namespace 'NS'==
2222
namespace NS {
2323
function M1() { }
2424
function M2() {
@@ -30,7 +30,7 @@ namespace NS {
3030

3131
function M3() { }
3232
}
33-
// ==SCOPE::global scope==
33+
// ==SCOPE::function in global scope==
3434
namespace NS {
3535
function M1() { }
3636
function M2() {

tests/baselines/reference/extractMethod/extractMethod24.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function Outer() {
66
}
77
function M3() { }
88
}
9-
// ==SCOPE::function 'M2'==
9+
// ==SCOPE::inner function in function 'M2'==
1010
function Outer() {
1111
function M1() { }
1212
function M2() {
@@ -18,7 +18,7 @@ function Outer() {
1818
}
1919
function M3() { }
2020
}
21-
// ==SCOPE::function 'Outer'==
21+
// ==SCOPE::inner function in function 'Outer'==
2222
function Outer() {
2323
function M1() { }
2424
function M2() {
@@ -30,7 +30,7 @@ function Outer() {
3030

3131
function M3() { }
3232
}
33-
// ==SCOPE::global scope==
33+
// ==SCOPE::function in global scope==
3434
function Outer() {
3535
function M1() { }
3636
function M2() {

tests/baselines/reference/extractMethod/extractMethod25.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function M2() {
44
return 1;
55
}
66
function M3() { }
7-
// ==SCOPE::function 'M2'==
7+
// ==SCOPE::inner function in function 'M2'==
88
function M1() { }
99
function M2() {
1010
return newFunction();
@@ -14,7 +14,7 @@ function M2() {
1414
}
1515
}
1616
function M3() { }
17-
// ==SCOPE::global scope==
17+
// ==SCOPE::function in global scope==
1818
function M1() { }
1919
function M2() {
2020
return newFunction();

tests/baselines/reference/extractMethod/extractMethod26.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class C {
66
}
77
M3() { }
88
}
9-
// ==SCOPE::class 'C'==
9+
// ==SCOPE::method in class 'C'==
1010
class C {
1111
M1() { }
1212
M2() {
@@ -18,7 +18,7 @@ class C {
1818

1919
M3() { }
2020
}
21-
// ==SCOPE::global scope==
21+
// ==SCOPE::function in global scope==
2222
class C {
2323
M1() { }
2424
M2() {

tests/baselines/reference/extractMethod/extractMethod27.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class C {
77
constructor() { }
88
M3() { }
99
}
10-
// ==SCOPE::class 'C'==
10+
// ==SCOPE::method in class 'C'==
1111
class C {
1212
M1() { }
1313
M2() {
@@ -20,7 +20,7 @@ class C {
2020

2121
M3() { }
2222
}
23-
// ==SCOPE::global scope==
23+
// ==SCOPE::function in global scope==
2424
class C {
2525
M1() { }
2626
M2() {

tests/baselines/reference/extractMethod/extractMethod28.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class C {
77
M3() { }
88
constructor() { }
99
}
10-
// ==SCOPE::class 'C'==
10+
// ==SCOPE::method in class 'C'==
1111
class C {
1212
M1() { }
1313
M2() {
@@ -20,7 +20,7 @@ class C {
2020
M3() { }
2121
constructor() { }
2222
}
23-
// ==SCOPE::global scope==
23+
// ==SCOPE::function in global scope==
2424
class C {
2525
M1() { }
2626
M2() {

0 commit comments

Comments
 (0)