From: Tom Grennan Date: Sat, 03 Mar 2012 02:15:34 GMT Subject: [PATCHv2 2/5] t5512 (ls-remote): modernize style Message-ID: <1330740942-25130-3-git-send-email-tmgrennan@gmail.com> In-Reply-To: <1330740942-25130-1-git-send-email-tmgrennan@gmail.com> Guard setup with test_expect_success Signed-off-by: Tom Grennan --- t/t5512-ls-remote.sh | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/t/t5512-ls-remote.sh b/t/t5512-ls-remote.sh index 5c546c9..811dcc3 100755 --- a/t/t5512-ls-remote.sh +++ b/t/t5512-ls-remote.sh @@ -102,11 +102,13 @@ test_expect_success 'use branch..remote if possible' ' ' -cat >exp <exp <<-EOF + fatal: 'refs*master' does not appear to be a git repository + fatal: The remote end hung up unexpectedly + EOF + "' # # Do not expect "git ls-remote " to work; ls-remote, correctly, # confuses for . Although ugly, this behaviour is akin -- 1.7.8