]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4150-am.sh
i18n: factorize "invalid value" messages
[thirdparty/git.git] / t / t4150-am.sh
index 6caff0ca397e442d9d053c0ed1a7808e74bcbfe4..159fae8d0162a3d1f0543d28a9817f156b45df5c 100755 (executable)
@@ -1169,7 +1169,7 @@ test_expect_success 'invalid when passing the --empty option alone' '
        test_when_finished "git am --abort || :" &&
        git checkout empty-commit^ &&
        test_must_fail git am --empty empty-commit.patch 2>err &&
-       echo "error: Invalid value for --empty: empty-commit.patch" >expected &&
+       echo "error: invalid value for '\''--empty'\'': '\''empty-commit.patch'\''" >expected &&
        test_cmp expected err
 '