]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3909-stash-pathspec-file.sh
i18n: factorize "--foo requires --bar" and the like
[thirdparty/git.git] / t / t3909-stash-pathspec-file.sh
index aae2b25f76667bff7af84c53f54418b9931a8ff4..fde4625cfcb7f2c0ed5699f1dee2349fd44e4ea7 100755 (executable)
@@ -94,7 +94,7 @@ test_expect_success 'error conditions' '
        test_i18ngrep -e "--pathspec-from-file is incompatible with pathspec arguments" err &&
 
        test_must_fail git stash push --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
 '
 
 test_done