File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -2783,11 +2783,6 @@ Actual: ${stringify(fullActual)}`);
2783
2783
assert . deepEqual ( unique ( this . getApplicableRefactorsAtSelection ( ) , r => r . name ) , names ) ;
2784
2784
}
2785
2785
2786
- public verifyRefactor ( { name, actionName, refactors } : FourSlashInterface . VerifyRefactorOptions ) {
2787
- const actualRefactors = this . getApplicableRefactorsAtSelection ( ) . filter ( r => r . name === name && r . actions . some ( a => a . name === actionName ) ) ;
2788
- this . assertObjectsEqual ( actualRefactors , refactors ) ;
2789
- }
2790
-
2791
2786
public verifyApplicableRefactorAvailableForRange ( negative : boolean ) {
2792
2787
const ranges = this . getRanges ( ) ;
2793
2788
if ( ! ( ranges && ranges . length === 1 ) ) {
@@ -3822,10 +3817,6 @@ namespace FourSlashInterface {
3822
3817
this . state . verifyRefactorsAvailable ( names ) ;
3823
3818
}
3824
3819
3825
- public refactor ( options : VerifyRefactorOptions ) {
3826
- this . state . verifyRefactor ( options ) ;
3827
- }
3828
-
3829
3820
public refactorAvailable ( name : string , actionName ?: string ) {
3830
3821
this . state . verifyRefactorAvailable ( this . negative , name , actionName ) ;
3831
3822
}
Original file line number Diff line number Diff line change @@ -174,11 +174,6 @@ declare namespace FourSlashInterface {
174
174
applicableRefactorAvailableForRange ( ) : void ;
175
175
176
176
refactorAvailable ( name : string , actionName ?: string ) : void ;
177
- refactor ( options : {
178
- name : string ;
179
- actionName : string ;
180
- refactors : any [ ] ;
181
- } ) : void ;
182
177
}
183
178
class verify extends verifyNegatable {
184
179
assertHasRanges ( ranges : Range [ ] ) : void ;
You can’t perform that action at this time.
0 commit comments