Skip to content

Commit

Permalink
polish tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Trinity committed May 29, 2020
1 parent 2db0054 commit a86a2fa
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

////export /*a*//*b*/function f() {}

// Only offer refactor for empty span if explicity requested
goTo.select("a", "b");
verify.not.refactorAvailableForTriggerReason("implicit", "Convert export");
verify.refactorAvailableForTriggerReason("invoked", "Convert export");
verify.refactorAvailableForTriggerReason("invoked", "Convert export");
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

////import /*a*//*b*/d, * as n from "m";

// Only offer refactor for empty span if explicity requested
goTo.select("a", "b");
verify.not.refactorAvailableForTriggerReason("implicit", "Convert import");
verify.refactorAvailableForTriggerReason("invoked", "Convert import");
verify.refactorAvailableForTriggerReason("invoked", "Convert import");
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//// public /*a*//*b*/a: string;
//// }

// Only offer refactor for empty span if explicity requested
goTo.select("a", "b");
verify.not.refactorAvailableForTriggerReason("implicit", "Generate 'get' and 'set' accessors");
verify.refactorAvailableForTriggerReason("invoked", "Generate 'get' and 'set' accessors");
verify.refactorAvailableForTriggerReason("invoked", "Generate 'get' and 'set' accessors");
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Only offer refactor for empty span if explicity requested
goTo.select("a", "b");
verify.not.refactorAvailableForTriggerReason("implicit", "Extract type");
verify.refactorAvailableForTriggerReason("invoked", "Extract type");
verify.refactorAvailableForTriggerReason("invoked", "Extract type");

0 comments on commit a86a2fa

Please sign in to comment.