Merge branch 'es/bugreport-no-extra-arg'
"git bugreport" learned to complain when it received a command line argument that it will not use. * es/bugreport-no-extra-arg: bugreport: reject positional arguments t0091-bugreport: stop using i18ngrep
This commit is contained in:
@ -65,7 +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 &&
|
||||
test_i18ngrep usage output &&
|
||||
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_path_is_missing git-bugreport-*
|
||||
'
|
||||
|
||||
|
Reference in New Issue
Block a user