Skip to content

Commit

Permalink
Add test cases, whitelist run (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGrandon authored Jul 5, 2018
1 parent ab28dbb commit f786a86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions __tests__/validate-title.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ test('valid commits pass', () => {
'Enforce some arbitrary thing',
'Set some arbitrary thing',
'Disable some arbitrary thing',
'Log some arbitrary thing',
'Track some arbitrary thing',
'Run some arbitrary thing',
];

valid.forEach(msg => {
Expand Down
1 change: 1 addition & 0 deletions validate-title.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const nounWhitelist = new Set([
'reset',
'set',
'track',
'run',
]);

function isSingleSentence(sentences) {
Expand Down

0 comments on commit f786a86

Please sign in to comment.