diff options
Diffstat (limited to 'validate-commit-msg.spec.js')
| -rw-r--r-- | validate-commit-msg.spec.js | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/validate-commit-msg.spec.js b/validate-commit-msg.spec.js index d4b37775..cc4b4c3c 100644 --- a/validate-commit-msg.spec.js +++ b/validate-commit-msg.spec.js @@ -38,12 +38,11 @@ describe('validate-commit-msg.js', function() {      }); -    it('should validate 70 characters length', function() { -      var msg = 'fix($compile): something super mega extra giga tera long, maybe even longer... ' + -                'way over 80 characters'; +    it('should validate 100 characters length', function() { +      var msg = "fix($compile): something super mega extra giga tera long, maybe even longer and longer and longer... ";        expect(m.validateMessage(msg)).toBe(INVALID); -      expect(errors).toEqual(['INVALID COMMIT MSG: is longer than 70 characters !']); +      expect(errors).toEqual(['INVALID COMMIT MSG: is longer than 100 characters !']);      }); | 
