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>
Jeff King committed
Mar 20, 2015 at 06:13 UTC
11f228b0be8d51dc6294d8132e91ad31e8b104b9
1 file changed
+1
-1
t/t7004-tag.sh
+1
-1
@@ -1181,7 +1181,7 @@ test_expect_success \
1181
'message in editor has initial comment: remainder' '
1182
# remove commented lines from the remainder -- should be empty
1183
>rest.expect &&
1184
- sed -e 1d -e '/^#/d' <actual >rest.actual &&
1184
+ sed -e 1d -e "/^#/d" <actual >rest.actual &&
1185
test_cmp rest.expect rest.actual
1186
'
1187