diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-04-19 13:27:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-04-19 13:28:19 +0000 |
commit | a4dc387bfbc56ba97701bfdde34b033ada9bb5c1 (patch) | |
tree | 3e2e000f25057e78e8789657216afe02f28d9946 /qa/test_hooks.py | |
parent | Releasing debian version 0.15.0-1. (diff) | |
download | gitlint-a4dc387bfbc56ba97701bfdde34b033ada9bb5c1.tar.xz gitlint-a4dc387bfbc56ba97701bfdde34b033ada9bb5c1.zip |
Merging upstream version 0.15.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'qa/test_hooks.py')
-rw-r--r-- | qa/test_hooks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/test_hooks.py b/qa/test_hooks.py index 80ccbf6..32abcb0 100644 --- a/qa/test_hooks.py +++ b/qa/test_hooks.py @@ -14,7 +14,7 @@ class HookTests(BaseTestCase): u'2: B4 Second line is not empty: "Contënt on the second line"\n', '3: B6 Body message is missing\n', '-----------------------------------------------\n', - 'gitlint: \x1b[31mYour commit message contains the above violations.\x1b[0m\n'] + 'gitlint: \x1b[31mYour commit message contains violations.\x1b[0m\n'] def setUp(self): self.responses = [] @@ -48,7 +48,7 @@ class HookTests(BaseTestCase): def _interact(self, line, stdin): self.githook_output.append(line) # Answer 'yes' to question to keep violating commit-msg - if "Your commit message contains the above violations" in line: + if "Your commit message contains violations" in line: response = self.responses[self.response_index] stdin.put(f"{response}\n") self.response_index = (self.response_index + 1) % len(self.responses) |