#!/usr/bin/env bash #/ Usage: script/test # run all tests #/ script/test # run just a package's tests script/fmt if [ $# -gt 0 ]; then GO15VENDOREXPERIMENT=0 go test "./$1" else GO15VENDOREXPERIMENT=0 go test ./... fi