]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3601-rm-pathspec-file.sh
Merge branch 'en/fetch-negotiation-default-fix'
[thirdparty/git.git] / t / t3601-rm-pathspec-file.sh
index b2a8db69afc69f20c33309e808711c0502467770..a2a0c820fe38a976b963570453df17a089599f9d 100755 (executable)
@@ -67,10 +67,10 @@ test_expect_success 'error conditions' '
        echo fileA.t >list &&
 
        test_must_fail git rm --pathspec-from-file=list -- fileA.t 2>err &&
-       test_i18ngrep -e "--pathspec-from-file is incompatible with pathspec arguments" err &&
+       test_i18ngrep -e ".--pathspec-from-file. and pathspec arguments cannot be used together" err &&
 
        test_must_fail git rm --pathspec-file-nul 2>err &&
-       test_i18ngrep -e "--pathspec-file-nul requires --pathspec-from-file" err &&
+       test_i18ngrep -e "the option .--pathspec-file-nul. requires .--pathspec-from-file." err &&
 
        >empty_list &&
        test_must_fail git rm --pathspec-from-file=empty_list 2>err &&