diff options
| author | Igor Minar | 2012-11-11 12:06:05 +0100 | 
|---|---|---|
| committer | Igor Minar | 2012-11-26 21:05:38 +0100 | 
| commit | cfe13b5dac3d1260400bb55194f2bc27169fd360 (patch) | |
| tree | 3a673ded7aeeadf1d21c80412fc4bc2cd2a4e4c4 /validate-commit-msg.spec.js | |
| parent | d859dcecea654d1d858cd756c6efb8435a453197 (diff) | |
| download | angular.js-cfe13b5dac3d1260400bb55194f2bc27169fd360.tar.bz2 | |
chore(validate-commit-msg): recognize 'revert' as valid commit type
Diffstat (limited to 'validate-commit-msg.spec.js')
| -rw-r--r-- | validate-commit-msg.spec.js | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/validate-commit-msg.spec.js b/validate-commit-msg.spec.js index 7483a9b0..4d153dc0 100644 --- a/validate-commit-msg.spec.js +++ b/validate-commit-msg.spec.js @@ -32,6 +32,7 @@ describe('validate-commit-msg.js', function() {        expect(m.validateMessage('chore(foo-bar): something')).toBe(VALID);        expect(m.validateMessage('chore(*): something')).toBe(VALID);        expect(m.validateMessage('chore(guide/location): something')).toBe(VALID); +      expect(m.validateMessage('revert(foo): something')).toBe(VALID);        expect(errors).toEqual([]);      }); | 
