From 2fc6cd75c9df82187c493ebc9d56d7c89adf64b7 Mon Sep 17 00:00:00 2001 From: Gavin Cabbage Date: Fri, 20 Sep 2019 10:59:39 -0400 Subject: [PATCH] support test build tags --- support_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support_test.go b/support_test.go index 37605fd..5f39483 100644 --- a/support_test.go +++ b/support_test.go @@ -1,3 +1,5 @@ +// +build integration,benchmark + package chiv_test import ( @@ -99,7 +101,6 @@ func deleteBucket(t testing.TB, client *s3.S3, name string) { } } -//nolint deadcode false positive func readFile(t testing.TB, path string) string { contents, err := ioutil.ReadFile(path) if err != nil { @@ -109,7 +110,6 @@ func readFile(t testing.TB, path string) string { return string(contents) } -//nolint deadcode false positive func download(t testing.TB, downloader *s3manager.Downloader, bucket string, key string) string { b := &aws.WriteAtBuffer{} _, err := downloader.Download(b, &s3.GetObjectInput{