]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0091-bugreport.sh
Merge branch 'jc/t0091-with-unknown-git'
[thirdparty/git.git] / t / t0091-bugreport.sh
index fb2f053fc4c2ba72099304fc544f820341c34e8d..fca39048fe8840099c2d7a393e91dfd3a6683029 100755 (executable)
@@ -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 &&
+       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 &&
+       test_grep usage output &&
+       test_grep false output &&
        test_path_is_missing git-bugreport-*
 '