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' rest.actual && + sed -e 1d -e "/^#/d" rest.actual && test_cmp rest.expect rest.actual '