Closed fmarier closed 5 years ago
On a machine with LANG=fr_CA.UTF-8, this test fails:
LANG=fr_CA.UTF-8
✗ no arguments prints usage instructions (in test file test/git-secrets.bats, line 7) `[ $(expr "${lines[0]}" : "usage: git secrets") -ne 0 ]' failed
If I run LANG=C make test on the other hand, this test succeeds.
LANG=C make test
The reason is that git-secrets -h returns usage : git secrets (extra space before the colon) whereas the test is looking for usage: git secrets.
git-secrets -h
usage : git secrets
usage: git secrets
On a machine with
LANG=fr_CA.UTF-8
, this test fails:If I run
LANG=C make test
on the other hand, this test succeeds.The reason is that
git-secrets -h
returnsusage : git secrets
(extra space before the colon) whereas the test is looking forusage: git secrets
.