Skip to content

Commit 11f228b

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bfe998f commit 11f228b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t7004-tag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ test_expect_success \
11811181
'message in editor has initial comment: remainder' '
11821182
# remove commented lines from the remainder -- should be empty
11831183
>rest.expect &&
1184-
sed -e 1d -e '/^#/d' <actual >rest.actual &&
1184+
sed -e 1d -e "/^#/d" <actual >rest.actual &&
11851185
test_cmp rest.expect rest.actual
11861186
'
11871187

0 commit comments

Comments
 (0)