mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
polish tests
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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");
|
||||
|
||||
+2
-1
@@ -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");
|
||||
+1
-1
@@ -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");
|
||||
Reference in New Issue
Block a user