@@ -212,17 +212,17 @@ hbsRuleTester.run('template-require-valid-alt-text', rule, {
212212 {
213213 code : '<img>' ,
214214 output : null ,
215- errors : [ { message : 'All `<img>` tags must have an alt attribute. ' } ] ,
215+ errors : [ { message : 'All `<img>` tags must have an alt attribute' } ] ,
216216 } ,
217217 {
218218 code : '<img src="zoey.jpg">' ,
219219 output : null ,
220- errors : [ { message : 'All `<img>` tags must have an alt attribute. ' } ] ,
220+ errors : [ { message : 'All `<img>` tags must have an alt attribute' } ] ,
221221 } ,
222222 {
223223 code : '<img alt="path/to/zoey.jpg" src="path/to/zoey.jpg">' ,
224224 output : null ,
225- errors : [ { message : 'The alt text must not be the same as the image source. ' } ] ,
225+ errors : [ { message : 'The alt text must not be the same as the image source' } ] ,
226226 } ,
227227 {
228228 code : '<input type="image">' ,
@@ -317,15 +317,15 @@ hbsRuleTester.run('template-require-valid-alt-text', rule, {
317317 {
318318 code : '<img alt="52" src="b52.jpg">' ,
319319 output : null ,
320- errors : [ { message : 'A number is not valid alt text. ' } ] ,
320+ errors : [ { message : 'A number is not valid alt text' } ] ,
321321 } ,
322322 {
323323 code : '<img alt="not-null-alt" src="zoey.jpg" role="none">' ,
324324 output : null ,
325325 errors : [
326326 {
327327 message :
328- 'The `alt` attribute should be empty if `<img>` has `role` of `none` or `presentation`. ' ,
328+ 'The `alt` attribute should be empty if `<img>` has `role` of `none` or `presentation`' ,
329329 } ,
330330 ] ,
331331 } ,
@@ -335,7 +335,7 @@ hbsRuleTester.run('template-require-valid-alt-text', rule, {
335335 errors : [
336336 {
337337 message :
338- 'The `alt` attribute should be empty if `<img>` has `role` of `none` or `presentation`. ' ,
338+ 'The `alt` attribute should be empty if `<img>` has `role` of `none` or `presentation`' ,
339339 } ,
340340 ] ,
341341 } ,
0 commit comments