@@ -612,8 +612,8 @@ suite('TextModel.getLineIndentGuide', () => {
612612 test ( 'getLineIndentGuide three levels' , ( ) => {
613613 assertIndentGuides ( [
614614 [ 0 , 2 , 4 , 1 , 'A' ] ,
615- [ 1 , 3 , 5 , 2 , ' A' ] , // TODO 5 => 4
616- [ 2 , 4 , 5 , 3 , ' A' ] , // TODO 5 => 4
615+ [ 1 , 3 , 4 , 2 , ' A' ] ,
616+ [ 2 , 4 , 4 , 3 , ' A' ] ,
617617 [ 3 , 4 , 4 , 3 , ' A' ] ,
618618 [ 0 , 2 , 4 , 1 , 'A' ] , // TODO => too big of a difference with the line above?
619619 ] , 2 ) ;
@@ -717,9 +717,9 @@ suite('TextModel.getLineIndentGuide', () => {
717717 test ( 'issue #8952 - Indentation guide lines going through text on .yml file' , ( ) => {
718718 assertIndentGuides ( [
719719 [ 0 , 2 , 5 , 1 , 'properties:' ] ,
720- [ 1 , 3 , 6 , 2 , ' emailAddress:' ] , // TODO 6 => 5
720+ [ 1 , 3 , 5 , 2 , ' emailAddress:' ] ,
721721 [ 2 , 3 , 5 , 2 , ' - bla' ] ,
722- [ 2 , 5 , 6 , 3 , ' - length:' ] , // TODO 6 => 5
722+ [ 2 , 5 , 5 , 3 , ' - length:' ] ,
723723 [ 3 , 5 , 5 , 3 , ' max: 255' ] ,
724724 [ 0 , 2 , 5 , 1 , 'getters:' ]
725725 ] , 4 ) ;
@@ -731,7 +731,7 @@ suite('TextModel.getLineIndentGuide', () => {
731731 [ 1 , 3 , 6 , 2 , '\tswitch (base) {' ] ,
732732 [ 2 , 4 , 4 , 3 , '\t\tcase 1:' ] ,
733733 [ 3 , 4 , 4 , 3 , '\t\t\treturn 1;' ] ,
734- [ 2 , 6 , 8 , 3 , '\t\tcase 2:' ] , // TODO 8 => 6 or 7
734+ [ 2 , 6 , 6 , 3 , '\t\tcase 2:' ] ,
735735 [ 3 , 6 , 6 , 3 , '\t\t\treturn 2;' ] ,
736736 [ 1 , 3 , 6 , 2 , '\t}' ] ,
737737 [ 0 , 2 , 7 , 1 , '}' ]
@@ -740,7 +740,7 @@ suite('TextModel.getLineIndentGuide', () => {
740740
741741 test ( 'issue #12398 - Problem in indent guidelines' , ( ) => {
742742 assertIndentGuides ( [
743- [ 2 , 2 , 3 , 3 , '\t\t.bla' ] ,
743+ [ 2 , 2 , 2 , 3 , '\t\t.bla' ] ,
744744 [ 3 , 2 , 2 , 3 , '\t\t\tlabel(for)' ] ,
745745 [ 0 , 1 , 2 , 1 , 'include script' ]
746746 ] , 4 ) ;
0 commit comments