1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-02 04:18:38 -04:00

go vet, go fmt

This commit is contained in:
2017-10-14 20:38:40 -04:00
parent f2ce7adb52
commit 85a58c3ff8
5 changed files with 4 additions and 9 deletions

View File

@ -162,7 +162,7 @@ func remove(client *http.Client, urlsuffix, key string) error {
func RunWith(t *testing.T, d *TestData, fn TestDataFunc) {
testdata, err := d.Initialize()
if err != nil {
t.Fatal("Failed to initialize test data: %s", err)
t.Fatalf("Failed to initialize test data: %s", err)
}
defer func() {
err := testdata.Teardown()