From 7b52a976e1fdcccf05a90b6fdc66f41a65c78f3d Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 31 Oct 2012 14:46:11 -0700 Subject: chore(validate-commit-msg): allow '/' in scope --- validate-commit-msg.spec.js | 1 + 1 file changed, 1 insertion(+) (limited to 'validate-commit-msg.spec.js') diff --git a/validate-commit-msg.spec.js b/validate-commit-msg.spec.js index 2ea3cf16..7483a9b0 100644 --- a/validate-commit-msg.spec.js +++ b/validate-commit-msg.spec.js @@ -31,6 +31,7 @@ describe('validate-commit-msg.js', function() { expect(m.validateMessage('chore($controller): something')).toBe(VALID); 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(errors).toEqual([]); }); -- cgit v1.2.3