@@ -63,7 +63,7 @@ describe('validate-commit-message.js', () => {
63
63
} ) ;
64
64
65
65
it ( 'should skip max length limit for URLs' , ( ) => {
66
- const msg = 'fix(compiler): this is just an usual commit message tile \n\n' +
66
+ const msg = 'fix(compiler): this is just a usual commit message title \n\n' +
67
67
'This is a normal commit message body which does not exceed the max length\n' +
68
68
'limit. For more details see the following super long URL:\n\n' +
69
69
'https://github.com/angular/components/commit/e2ace018ddfad10608e0e32932c43dcfef4095d7#diff-9879d6db96fd29134fc802214163b95a' ;
@@ -266,51 +266,51 @@ describe('validate-commit-message.js', () => {
266
266
267
267
describe ( 'breaking change' , ( ) => {
268
268
it ( 'should allow valid breaking change commit descriptions' , ( ) => {
269
- const msgWithSummary = 'feat(compiler): this is just an usual commit message tile \n\n' +
269
+ const msgWithSummary = 'feat(compiler): this is just a usual commit message title \n\n' +
270
270
'This is a normal commit message body which does not exceed the max length\n' +
271
271
'limit. For more details see the following super long URL:\n\n' +
272
272
'BREAKING CHANGE: This is a summary of a breaking change.' ;
273
273
expectValidationResult ( validateCommitMessage ( msgWithSummary ) , VALID ) ;
274
274
275
- const msgWithDescription = 'feat(compiler): this is just an usual commit message tile \n\n' +
275
+ const msgWithDescription = 'feat(compiler): this is just a usual commit message title \n\n' +
276
276
'This is a normal commit message body which does not exceed the max length\n' +
277
277
'limit. For more details see the following super long URL:\n\n' +
278
278
'BREAKING CHANGE:\n\n' +
279
279
'This is a full description of the breaking change.' ;
280
280
expectValidationResult ( validateCommitMessage ( msgWithDescription ) , VALID ) ;
281
281
282
282
const msgWithSummaryAndDescription =
283
- 'feat(compiler): this is just an usual commit message tile \n\n' +
283
+ 'feat(compiler): this is just a usual commit message title \n\n' +
284
284
'This is a normal commit message body which does not exceed the max length\n' +
285
285
'limit. For more details see the following super long URL:\n\n' +
286
286
'BREAKING CHANGE: This is a summary of a breaking change.\n\n' +
287
287
'This is a full description of the breaking change.' ;
288
288
expectValidationResult ( validateCommitMessage ( msgWithSummaryAndDescription ) , VALID ) ;
289
289
290
- const msgWithNonBreaking = 'feat(compiler): this is just an usual commit message tile \n\n' +
290
+ const msgWithNonBreaking = 'feat(compiler): this is just a usual commit message title \n\n' +
291
291
'This is not a\n' +
292
292
'breaking change commit.' ;
293
293
expectValidationResult ( validateCommitMessage ( msgWithNonBreaking ) , VALID ) ;
294
294
} ) ;
295
295
296
296
it ( 'should fail for non-valid breaking change commit descriptions' , ( ) => {
297
- const msgWithSummary = 'feat(compiler): this is just an usual commit message tile \n\n' +
297
+ const msgWithSummary = 'feat(compiler): this is just a usual commit message title \n\n' +
298
298
'This is a normal commit message body which does not exceed the max length\n' +
299
299
'limit. For more details see the following super long URL:\n\n' +
300
300
'BREAKING CHANGE This is a summary of a breaking change.' ;
301
301
expectValidationResult (
302
302
validateCommitMessage ( msgWithSummary ) , INVALID ,
303
303
[ `The commit message body contains an invalid breaking change description.` ] ) ;
304
304
305
- const msgWithPlural = 'feat(compiler): this is just an usual commit message tile \n\n' +
305
+ const msgWithPlural = 'feat(compiler): this is just a usual commit message title \n\n' +
306
306
'This is a normal commit message body which does not exceed the max length\n' +
307
307
'limit. For more details see the following super long URL:\n\n' +
308
308
'BREAKING CHANGES: This is a summary of a breaking change.' ;
309
309
expectValidationResult (
310
310
validateCommitMessage ( msgWithPlural ) , INVALID ,
311
311
[ `The commit message body contains an invalid breaking change description.` ] ) ;
312
312
313
- const msgWithDescription = 'feat(compiler): this is just an usual commit message tile \n\n' +
313
+ const msgWithDescription = 'feat(compiler): this is just a usual commit message title \n\n' +
314
314
'This is a normal commit message body which does not exceed the max length\n' +
315
315
'limit. For more details see the following super long URL:\n\n' +
316
316
'BREAKING CHANGE:\n' +
@@ -320,7 +320,7 @@ describe('validate-commit-message.js', () => {
320
320
[ `The commit message body contains an invalid breaking change description.` ] ) ;
321
321
322
322
const msgWithSummaryAndDescription =
323
- 'feat(compiler): this is just an usual commit message tile \n\n' +
323
+ 'feat(compiler): this is just a usual commit message title \n\n' +
324
324
'This is a normal commit message body which does not exceed the max length\n' +
325
325
'limit. For more details see the following super long URL:\n\n' +
326
326
'BREAKING CHANGE\n\n' +
0 commit comments