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