From: Jeff King Date: Fri, 20 Mar 2015 10:13:29 GMT Subject: [PATCH 23/25] t7004: fix embedded single-quotes Message-ID: <20150320101328.GW12543@peff.net> In-Reply-To: <20150320100429.GA17354@peff.net> This test uses single quotes inside the single-quoted test snippet, which effectively makes the contents unquoted. Since they don't need quoted anyway, this isn't a problem, but let's switch them to double-quotes to make it more obviously correct. Signed-off-by: Jeff King --- t/t7004-tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh index 347d3be..efb08c3 100755 --- a/t/t7004-tag.sh +++ b/t/t7004-tag.sh @@ -1181,7 +1181,7 @@ test_expect_success \ 'message in editor has initial comment: remainder' ' # remove commented lines from the remainder -- should be empty >rest.expect && - sed -e 1d -e '/^#/d' rest.actual && + sed -e 1d -e "/^#/d" rest.actual && test_cmp rest.expect rest.actual ' -- 2.3.3.520.g3cfbb5d