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