#!/usr/bin/env bash cd "${0%/*}" || exit 1 . ../run-tests declare -A repo repo[resque]="Resque" repo[hub]="Hub" repo[rip]="Rip" export repo template() { cat <{{@key}} - {{.}} {{/repo}} EOF } expected() { cat <hub - Hub rip - Rip resque - Resque EOF } runTest