summaryrefslogtreecommitdiffstats
path: root/t/chainlint/here-doc-indent-operator.test
blob: c8a6f18eb4540f19f39dffea71fa650ab6f0c6e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# LINT: whitespace between operator "<<-" and tag legal
cat >expect <<- EOF &&
header: 43475048 1 $(test_oid oid_version) $NUM_CHUNKS 0
num_commits: $1
chunks: oid_fanout oid_lookup commit_metadata generation_data bloom_indexes bloom_data
EOF

# LINT: not an indented here-doc; just a plain here-doc with tag named "-EOF"
cat >expect << -EOF
this is not indented
-EOF

cleanup