Skip to content

Commit

Permalink
fixup??? mktag: add a --no-strict option
Browse files Browse the repository at this point in the history
Localized messages need to be validated via `test_i18ngrep`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Jan 15, 2021
1 parent 7c56abf commit d7e23fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions t/t3800-mktag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ check_verify_failure () {
test_i18ngrep '$2' message &&
if test '$3' != '--no-strict'
then
test_must_fail env GIT_TEST_GETTEXT_POISON=false \
git mktag --no-strict <tag.sig 2>message.no-strict &&
grep '$2' message.no-strict
test_must_fail git mktag --no-strict <tag.sig 2>message.no-strict &&
test_i18ngrep '$2' message.no-strict
fi
"
}
Expand Down

0 comments on commit d7e23fa

Please sign in to comment.