diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-11-08 05:04:02 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-11-08 05:04:02 +0300 |
commit | a8e2394704d0543f4e1f1ac6ea532d098316d97e (patch) | |
tree | 9120b53b6c93bb8db02997cb446a4311a7e21311 /t/t0091-bugreport.sh | |
parent | ca320b256c07157f66aad5e7d23a3b71de6952d5 (diff) | |
parent | 6789275d3780bcb950e6be8557aeedf160d4ad6d (diff) |
Merge branch 'jc/test-i18ngrep'
Another step to deprecate test_i18ngrep.
* jc/test-i18ngrep:
tests: teach callers of test_i18ngrep to use test_grep
test framework: further deprecate test_i18ngrep
Diffstat (limited to 't/t0091-bugreport.sh')
-rwxr-xr-x | t/t0091-bugreport.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t0091-bugreport.sh b/t/t0091-bugreport.sh index ae5b7dc31f..8798feefe3 100755 --- a/t/t0091-bugreport.sh +++ b/t/t0091-bugreport.sh @@ -65,14 +65,14 @@ test_expect_success '--output-directory puts the report in the provided dir' ' test_expect_success 'incorrect arguments abort with usage' ' test_must_fail git bugreport --false 2>output && - grep usage output && + test_grep usage output && test_path_is_missing git-bugreport-* ' test_expect_success 'incorrect positional arguments abort with usage and hint' ' test_must_fail git bugreport false 2>output && - grep usage output && - grep false output && + test_grep usage output && + test_grep false output && test_path_is_missing git-bugreport-* ' |