t / chainlint / nested-here-doc.teston commit delta-islands: respect progress flag (bdbdf42)
   1# LINT: inner "EOF" not misintrepreted as closing ARBITRARY here-doc
   2cat <<ARBITRARY >foop &&
   3naddle
   4fub <<EOF
   5        nozzle
   6        noodle
   7EOF
   8formp
   9ARBITRARY
  10
  11(
  12# LINT: inner "EOF" not misintrepreted as closing INPUT_END here-doc
  13        cat <<-\INPUT_END &&
  14        fish are mice
  15        but geese go slow
  16        data <<EOF
  17                perl is lerp
  18                and nothing else
  19        EOF
  20        toink
  21        INPUT_END
  22
  23# LINT: same but missing "&&"
  24        cat <<-\EOT
  25        text goes here
  26        data <<EOF
  27                data goes here
  28        EOF
  29        more test here
  30        EOT
  31
  32        foobar
  33)