@@ -37,7 +37,10 @@ tester.run('block-spacing', rule, {
3737 token : '{'
3838 } ,
3939 // message: 'Requires a space after \'{\'',
40- line : 3
40+ line : 3 ,
41+ column : 38 ,
42+ endLine : 3 ,
43+ endColumn : 39
4144 } ,
4245 {
4346 messageId : 'missing' ,
@@ -46,7 +49,10 @@ tester.run('block-spacing', rule, {
4649 token : '}'
4750 } ,
4851 // message: 'Requires a space before \' }\'',
49- line : 3
52+ line : 3 ,
53+ column : 51 ,
54+ endLine : 3 ,
55+ endColumn : 52
5056 }
5157 ]
5258 } ,
@@ -67,7 +73,10 @@ tester.run('block-spacing', rule, {
6773 token : '{'
6874 } ,
6975 // message: 'Requires a space after \'{\'',
70- line : 3
76+ line : 3 ,
77+ column : 33 ,
78+ endLine : 3 ,
79+ endColumn : 34
7180 } ,
7281 {
7382 messageId : 'missing' ,
@@ -76,7 +85,10 @@ tester.run('block-spacing', rule, {
7685 token : '}'
7786 } ,
7887 // message: 'Requires a space before \' }\'',
79- line : 3
88+ line : 3 ,
89+ column : 46 ,
90+ endLine : 3 ,
91+ endColumn : 47
8092 }
8193 ]
8294 } ,
@@ -98,7 +110,10 @@ tester.run('block-spacing', rule, {
98110 token : '{'
99111 } ,
100112 // message: 'Unexpected space(s) after \'{\'',
101- line : 3
113+ line : 3 ,
114+ column : 39 ,
115+ endLine : 3 ,
116+ endColumn : 40
102117 } ,
103118 {
104119 messageId : 'extra' ,
@@ -107,7 +122,10 @@ tester.run('block-spacing', rule, {
107122 token : '}'
108123 } ,
109124 // message: 'Unexpected space(s) before \' }\'',
110- line : 3
125+ line : 3 ,
126+ column : 52 ,
127+ endLine : 3 ,
128+ endColumn : 53
111129 }
112130 ]
113131 } ,
@@ -121,16 +139,24 @@ tester.run('block-spacing', rule, {
121139 data : {
122140 location : 'after' ,
123141 token : '{'
124- }
142+ } ,
125143 // message: 'Requires a space after \'{\'',
144+ line : 1 ,
145+ column : 57 ,
146+ endLine : 1 ,
147+ endColumn : 58
126148 } ,
127149 {
128150 messageId : 'missing' ,
129151 data : {
130152 location : 'before' ,
131153 token : '}'
132- }
154+ } ,
133155 // message: 'Requires a space before \' }\'',
156+ line : 1 ,
157+ column : 67 ,
158+ endLine : 1 ,
159+ endColumn : 68
134160 }
135161 ]
136162 }
0 commit comments