From 62335bbbc747c96636b5ce9917b156304c732eaf Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 14 Jan 2016 03:59:48 +0000 Subject: 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 --- t/t9108-git-svn-glob.sh | 9 ++++++--- t/t9109-git-svn-multi-glob.sh | 9 ++++++--- t/t9168-git-svn-partially-globbed-names.sh | 7 ++++--- 3 files changed, 16 insertions(+), 9 deletions(-) (limited to 't') diff --git a/t/t9108-git-svn-glob.sh b/t/t9108-git-svn-glob.sh index a526d60379..a94286c8ec 100755 --- a/t/t9108-git-svn-glob.sh +++ b/t/t9108-git-svn-glob.sh @@ -86,9 +86,12 @@ test_expect_success 'test left-hand-side only globbing' ' test_cmp expect.two output.two ' -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 multi-globs' " +cat >expect.three < expect.three -echo "" >> expect.three +test_expect_success 'prepare test disallow multiple globs' " +cat >expect.three <expect.four && - echo \"\" >>expect.four +cat >expect.four <