File: doc_test.sh

package info (click to toggle)
autodep8 0.24
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 228 kB
  • sloc: sh: 984; makefile: 28
file content (7 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
test_updated_examples() {
  for pkgtype in $(ls --ignore=common --ignore=autodep8lib.sh -1 support/); do
    assertTrue "missing example for $pkgtype in examples.md; update examples.in and run \`make update-examples\`" "grep '^## $pkgtype' examples.md"
  done
}

. shunit2