Skip to content

Commit

Permalink
t3206: disable parameter substitution in heredoc
Browse files Browse the repository at this point in the history
In the first heredoc, parameter substitution is not used so prevent it
from happening in the future (perhaps by accident) by escaping the limit
EOF.

The remaining heredocs use parameter substitution so they cannot be
changed.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Denton-L authored and gitster committed Nov 21, 2019
1 parent 3a6e48e commit 79f3950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t3206-range-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_description='range-diff tests'

test_expect_success 'setup' '
git fast-import <"$TEST_DIRECTORY"/t3206/history.export &&
test_oid_cache <<-EOF
test_oid_cache <<-\EOF
# topic
t1 sha1:4de457d
t2 sha1:fccce22
Expand Down

0 comments on commit 79f3950

Please sign in to comment.