@@ -56,7 +56,9 @@ namespace ts {
5656
5757 it ( "Sort - invalid vs invalid" , ( ) => {
5858 assertSortsBefore (
59+ // tslint:disable-next-line no-invalid-template-strings
5960 "import y from `${'lib1'}`;" ,
61+ // tslint:disable-next-line no-invalid-template-strings
6062 "import x from `${'lib2'}`;" ) ;
6163 } ) ;
6264
@@ -69,12 +71,14 @@ namespace ts {
6971 it ( "Sort - non-relative vs invalid" , ( ) => {
7072 assertSortsBefore (
7173 `import y from "lib";` ,
74+ // tslint:disable-next-line no-invalid-template-strings
7275 "import x from `${'lib'}`;" ) ;
7376 } ) ;
7477
7578 it ( "Sort - relative vs invalid" , ( ) => {
7679 assertSortsBefore (
7780 `import y from "./lib";` ,
81+ // tslint:disable-next-line no-invalid-template-strings
7882 "import x from `${'lib'}`;" ) ;
7983 } ) ;
8084
@@ -357,7 +361,7 @@ F2();
357361
358362 assert . equal ( node1 . kind , node2 . kind ) ;
359363
360- switch ( node1 . kind ) {
364+ switch ( node1 . kind ) {
361365 case SyntaxKind . ImportDeclaration :
362366 const decl1 = node1 as ImportDeclaration ;
363367 const decl2 = node2 as ImportDeclaration ;
@@ -369,6 +373,7 @@ F2();
369373 const clause2 = node2 as ImportClause ;
370374 assertEqual ( clause1 . name , clause2 . name ) ;
371375 assertEqual ( clause1 . namedBindings , clause2 . namedBindings ) ;
376+ break ;
372377 case SyntaxKind . NamespaceImport :
373378 const nsi1 = node1 as NamespaceImport ;
374379 const nsi2 = node2 as NamespaceImport ;
0 commit comments