Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzzen committed Apr 4, 2022
1 parent 9408d18 commit 5502a24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/cases/fourslash/extractFunctionContainingThis3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
////}

goTo.select("start", "end");
verify.not.refactorAvailable("Extract Symbol", "function_scope_0");
verify.refactorAvailable("Extract Symbol", "function_scope_0");
verify.refactorAvailable("Extract Symbol", "function_scope_1");

goTo.select("start", "end");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@


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

Expand Down

0 comments on commit 5502a24

Please sign in to comment.