Skip to content

Fix fourslash baselines #18426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/baselines/reference/extractMethod/extractMethod23.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace NS {
}
function M3() { }
}
// ==SCOPE::function 'M2'==
// ==SCOPE::inner function in function 'M2'==
namespace NS {
function M1() { }
function M2() {
Expand All @@ -18,7 +18,7 @@ namespace NS {
}
function M3() { }
}
// ==SCOPE::namespace 'NS'==
// ==SCOPE::function in namespace 'NS'==
namespace NS {
function M1() { }
function M2() {
Expand All @@ -30,7 +30,7 @@ namespace NS {

function M3() { }
}
// ==SCOPE::global scope==
// ==SCOPE::function in global scope==
namespace NS {
function M1() { }
function M2() {
Expand Down
6 changes: 3 additions & 3 deletions tests/baselines/reference/extractMethod/extractMethod24.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Outer() {
}
function M3() { }
}
// ==SCOPE::function 'M2'==
// ==SCOPE::inner function in function 'M2'==
function Outer() {
function M1() { }
function M2() {
Expand All @@ -18,7 +18,7 @@ function Outer() {
}
function M3() { }
}
// ==SCOPE::function 'Outer'==
// ==SCOPE::inner function in function 'Outer'==
function Outer() {
function M1() { }
function M2() {
Expand All @@ -30,7 +30,7 @@ function Outer() {

function M3() { }
}
// ==SCOPE::global scope==
// ==SCOPE::function in global scope==
function Outer() {
function M1() { }
function M2() {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/extractMethod/extractMethod25.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function M2() {
return 1;
}
function M3() { }
// ==SCOPE::function 'M2'==
// ==SCOPE::inner function in function 'M2'==
function M1() { }
function M2() {
return newFunction();
Expand All @@ -14,7 +14,7 @@ function M2() {
}
}
function M3() { }
// ==SCOPE::global scope==
// ==SCOPE::function in global scope==
function M1() { }
function M2() {
return newFunction();
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/extractMethod/extractMethod26.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class C {
}
M3() { }
}
// ==SCOPE::class 'C'==
// ==SCOPE::method in class 'C'==
class C {
M1() { }
M2() {
Expand All @@ -18,7 +18,7 @@ class C {

M3() { }
}
// ==SCOPE::global scope==
// ==SCOPE::function in global scope==
class C {
M1() { }
M2() {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/extractMethod/extractMethod27.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class C {
constructor() { }
M3() { }
}
// ==SCOPE::class 'C'==
// ==SCOPE::method in class 'C'==
class C {
M1() { }
M2() {
Expand All @@ -20,7 +20,7 @@ class C {

M3() { }
}
// ==SCOPE::global scope==
// ==SCOPE::function in global scope==
class C {
M1() { }
M2() {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/extractMethod/extractMethod28.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class C {
M3() { }
constructor() { }
}
// ==SCOPE::class 'C'==
// ==SCOPE::method in class 'C'==
class C {
M1() { }
M2() {
Expand All @@ -20,7 +20,7 @@ class C {
M3() { }
constructor() { }
}
// ==SCOPE::global scope==
// ==SCOPE::function in global scope==
class C {
M1() { }
M2() {
Expand Down