Skip to content

Commit

Permalink
support test build tags
Browse files Browse the repository at this point in the history
  • Loading branch information
gavincabbage committed Sep 20, 2019
1 parent 3d8c9e1 commit 2fc6cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build integration,benchmark

package chiv_test

import (
Expand Down Expand Up @@ -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 {
Expand All @@ -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{
Expand Down

0 comments on commit 2fc6cd7

Please sign in to comment.