summaryrefslogtreecommitdiff
path: root/t/t6134-pathspec-in-submodule.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t6134-pathspec-in-submodule.sh')
-rwxr-xr-xt/t6134-pathspec-in-submodule.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/t/t6134-pathspec-in-submodule.sh b/t/t6134-pathspec-in-submodule.sh
index 99a8982ab1..c670668409 100755
--- a/t/t6134-pathspec-in-submodule.sh
+++ b/t/t6134-pathspec-in-submodule.sh
@@ -24,13 +24,9 @@ test_expect_success 'error message for path inside submodule' '
test_i18ncmp expect actual
'
-cat <<EOF >expect
-fatal: Pathspec '.' is in submodule 'sub'
-EOF
-
test_expect_success 'error message for path inside submodule from within submodule' '
test_must_fail git -C sub add . 2>actual &&
- test_i18ncmp expect actual
+ test_i18ngrep "in unpopulated submodule" actual
'
test_done