From 1ae34aac811629df201c3d41d7976559cf7aaf5d Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 24 Oct 2013 14:55:17 -0700 Subject: chore(validate-commit-msg.js): increase the max line limit for commit messages from 70 to 100 --- validate-commit-msg.spec.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'validate-commit-msg.spec.js') 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 !']); }); -- cgit v1.2.3