aboutsummaryrefslogtreecommitdiff
path: root/tests/git-pre-commit-copyright-check.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/git-pre-commit-copyright-check.testscript')
-rw-r--r--tests/git-pre-commit-copyright-check.testscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/git-pre-commit-copyright-check.testscript b/tests/git-pre-commit-copyright-check.testscript
index f8e51f5..d05e99a 100644
--- a/tests/git-pre-commit-copyright-check.testscript
+++ b/tests/git-pre-commit-copyright-check.testscript
@@ -13,8 +13,8 @@
EOI
$ga .;
- $gc 2>>EOE;
- WARNING: last copyright year in 'LICENSE' is 2019
+ $gc 2>>~%EOE%;
+ %.+WARNING:.+ last copyright year in 'LICENSE' is 2019%
EOE
date +"%Y" | set year;