Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f0a0830

Browse files
authored
test(first-attribute-linebreak): make tests more strict (#2829)
1 parent d12ab58 commit f0a0830

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

‎tests/lib/rules/first-attribute-linebreak.js

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ name="John Doe"
161161
{
162162
message: 'Expected a linebreak before this attribute.',
163163
line: 8,
164-
column: 20
164+
column: 20,
165+
endLine: 8,
166+
endColumn: 35
165167
}
166168
]
167169
},
@@ -203,12 +205,16 @@ name="John Doe"
203205
{
204206
message: 'Expected no linebreak before this attribute.',
205207
line: 4,
206-
column: 11
208+
column: 11,
209+
endLine: 4,
210+
endColumn: 26
207211
},
208212
{
209213
message: 'Expected no linebreak before this attribute.',
210214
line: 13,
211-
column: 11
215+
column: 11,
216+
endLine: 13,
217+
endColumn: 26
212218
}
213219
]
214220
},
@@ -254,12 +260,16 @@ name="John Doe"
254260
{
255261
message: 'Expected a linebreak before this attribute.',
256262
line: 8,
257-
column: 20
263+
column: 20,
264+
endLine: 8,
265+
endColumn: 35
258266
},
259267
{
260268
message: 'Expected a linebreak before this attribute.',
261269
line: 15,
262-
column: 20
270+
column: 20,
271+
endLine: 15,
272+
endColumn: 35
263273
}
264274
]
265275
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /