Raw
1 test_expect_success 'here-doc-indent-operator' '
2 # LINT: whitespace between operator "<<-" and tag legal
3 cat >expect <<- EOF &&
4 header: 43475048 1 $(test_oid oid_version) $NUM_CHUNKS 0
5 num_commits: $1
6 chunks: oid_fanout oid_lookup commit_metadata generation_data bloom_indexes bloom_data
7 EOF
8
9 # LINT: not an indented here-doc; just a plain here-doc with tag named "-EOF"
10 cat >expect << -EOF
11 this is not indented
12 -EOF
13
14 cleanup
15 '