File tree 3 files changed +8
-36
lines changed
src/testRunner/unittests/services
baselines/reference/organizeImports
3 files changed +8
-36
lines changed Original file line number Diff line number Diff line change @@ -679,23 +679,6 @@ import "lib1";
679
679
{ path : "/lib1.ts" , content : "" } ,
680
680
{ path : "/lib2.ts" , content : "" } ) ;
681
681
682
- testOrganizeImports ( "SortComments" ,
683
- /*skipDestructiveCodeActions*/ false ,
684
- {
685
- path : "/test.ts" ,
686
- content : `
687
- // Header
688
- import "lib3";
689
- // Comment2
690
- import "lib2";
691
- // Comment1
692
- import "lib1";
693
- ` ,
694
- } ,
695
- { path : "/lib1.ts" , content : "" } ,
696
- { path : "/lib2.ts" , content : "" } ,
697
- { path : "/lib3.ts" , content : "" } ) ;
698
-
699
682
testOrganizeImports ( "AmbientModule" ,
700
683
/*skipDestructiveCodeActions*/ false ,
701
684
{
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 16
16
//// anotherThing;
17
17
18
18
verify . organizeImports (
19
- `import * as anotherThing from "someopath"; /* small comment */ // single line one.
19
+ `/* some comment here
20
+ * and there
21
+ */
22
+ import * as anotherThing from "someopath"; /* small comment */ // single line one.
23
+ /* some comment here
24
+ * and there
25
+ */
20
26
21
- anotherThing;` ) ;
27
+ anotherThing;` ) ;
You can’t perform that action at this time.
0 commit comments