#!/usr/bin/env bash cd "${0%/*}" || exit 1 . ../run-tests export repo=() template() { cat <{{.}} {{/repo}} {{^repo}} No repos :( {{/repo}} EOF } export expected=$' No repos :(\n' runTest