From 5b29358b3742a11f702fcf48a4daf3a4dd69447a Mon Sep 17 00:00:00 2001 From: James Shubin Date: Thu, 9 Feb 2017 11:16:18 -0500 Subject: [PATCH] test: Small nitpicks with messages --- test/test-commit-message.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test-commit-message.sh b/test/test-commit-message.sh index 083efb90..94cad036 100755 --- a/test/test-commit-message.sh +++ b/test/test-commit-message.sh @@ -40,11 +40,11 @@ test_commit_message() { echo Testing commit message $1 if ! git log --format=%s $1 | head -n 1 | grep -q "$travis_regex" then - echo "Commit message should follow the following regex: '$travis_regex'" + echo "FAIL: Commit message should match the following regex: '$travis_regex'" echo - echo "e.g:" - echo "prometheus: implement rest api" - echo "resources: svc: fix a race condition with reloads" + echo "eg:" + echo "prometheus: Implement rest api" + echo "resources: svc: Fix a race condition with reloads" exit 1 fi }