]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3601-rm-pathspec-file.sh
i18n: factorize "--foo requires --bar" and the like
[thirdparty/git.git] / t / t3601-rm-pathspec-file.sh
index b2a8db69afc69f20c33309e808711c0502467770..bbed67f8ef526565182048f773744f876236b6e4 100755 (executable)
@@ -70,7 +70,7 @@ test_expect_success 'error conditions' '
        test_i18ngrep -e "--pathspec-from-file is incompatible with pathspec arguments" 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 &&