Skip to content

Commit 0b0a5bf

Browse files
committed
update tests
1 parent 9408d18 commit 0b0a5bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/cases/fourslash/extractFunctionContainingThis3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
////}
1111

1212
goTo.select("start", "end");
13-
verify.not.refactorAvailable("Extract Symbol", "function_scope_0");
13+
verify.refactorAvailable("Extract Symbol", "function_scope_0");
1414
verify.refactorAvailable("Extract Symbol", "function_scope_1");
1515

1616
goTo.select("start", "end");

tests/cases/fourslash/extractFunctionContainingThis5.ts renamed to tests/cases/fourslash/extractFunctionContainingThis4.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
goTo.select("start", "end");
1414
// cannot extract it to method, reason: Cannot extract method to a function-like scope that is not a function
15-
verify.not.refactorAvailable("Extract Symbol", "function_scope_1");
15+
verify.refactorAvailable("Extract Symbol", "function_scope_1");
1616
verify.not.refactorAvailable("Extract Symbol", "function_scope_2");
1717
verify.refactorAvailable("Extract Symbol", "function_scope_3");
1818

0 commit comments

Comments
 (0)