t / chainlint / semicolon.teston commit Merge branch 'rj/prune-packed-excess-args' (ebf846c)
   1(
   2# LINT: missing internal "&&" and ending "&&"
   3        cat foo ; echo bar
   4# LINT: final statement before ")" only missing internal "&&"
   5        cat foo ; echo bar
   6) &&
   7(
   8# LINT: missing internal "&&"
   9        cat foo ; echo bar &&
  10        cat foo ; echo bar
  11) &&
  12(
  13# LINT: not fooled by semicolon in string
  14        echo "foo; bar" &&
  15        cat foo; echo bar
  16) &&
  17(
  18# LINT: unnecessary terminating semicolon
  19        foo;
  20) &&
  21(cd foo &&
  22        for i in a b c; do
  23# LINT: unnecessary terminating semicolon
  24                echo;
  25        done)