aboutsummaryrefslogtreecommitdiff
path: root/t/t9109-git-svn-multi-glob.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2016-01-14 03:59:48 +0000
committerEric Wong <normalperson@yhbt.net>2016-03-15 01:35:39 +0000
commit62335bbbc747c96636b5ce9917b156304c732eaf (patch)
tree8c1661a75eabad5898349b6f3301cff3e37a724d /t/t9109-git-svn-multi-glob.sh
parente4e5dd94e6eea4b50d8baed8b6b8cc50f6c8eae4 (diff)
downloadgit-62335bbbc747c96636b5ce9917b156304c732eaf.tar.gz
git-62335bbbc747c96636b5ce9917b156304c732eaf.tar.xz
git-svn: shorten glob error message
Error messages should attempt to fit within the confines of an 80-column terminal to avoid compatibility and accessibility problems. Furthermore the word "directories" can be misleading when used in the context of git refnames. Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 't/t9109-git-svn-multi-glob.sh')
-rwxr-xr-xt/t9109-git-svn-multi-glob.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/t/t9109-git-svn-multi-glob.sh b/t/t9109-git-svn-multi-glob.sh
index f36b74924..8d99e848d 100755
--- a/t/t9109-git-svn-multi-glob.sh
+++ b/t/t9109-git-svn-multi-glob.sh
@@ -135,9 +135,12 @@ test_expect_success 'test another branch' '
test_cmp expect.four output.four
'
-echo "Only one set of wildcard directories" \
- "(e.g. '*' or '*/*/*') is supported: 'branches/*/t/*'" > expect.three
-echo "" >> expect.three
+test_expect_success 'prepare test disallow multiple globs' "
+cat >expect.three <<EOF
+Only one set of wildcards (e.g. '*' or '*/*/*') is supported: branches/*/t/*
+
+EOF
+ "
test_expect_success 'test disallow multiple globs' '
git config --add svn-remote.three.url "$svnrepo" &&