summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-03-20 06:13:29 -0400
committerJunio C Hamano <gitster@pobox.com>2015-03-20 11:35:56 -0700
commit11f228b0be8d51dc6294d8132e91ad31e8b104b9 (patch)
tree484cf3d51253907351f2d6998abe3ab15175ac24
parentbfe998fc9b5a02271941c7c28f55f6dd000fe76f (diff)
downloadgit-11f228b0be8d51dc6294d8132e91ad31e8b104b9.tar.gz
t7004: fix embedded single-quotes
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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t7004-tag.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
index 347d3bebbc..efb08c3496 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' <actual >rest.actual &&
+ sed -e 1d -e "/^#/d" <actual >rest.actual &&
test_cmp rest.expect rest.actual
'