File: doc_test.sh

package info (click to toggle)
autodep8 0.30
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 276 kB
  • sloc: sh: 1,139; makefile: 31
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