From cd75697ac368b69e8a3b3d562e15d988f7f2cdc0 Mon Sep 17 00:00:00 2001 From: Alexey Stytsenko Date: Wed, 22 Apr 2020 23:23:39 +0000 Subject: [PATCH] Fix UploadSingleFile test in distbuild/pkg/filecache --- distbuild/pkg/filecache/client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distbuild/pkg/filecache/client_test.go b/distbuild/pkg/filecache/client_test.go index 79c13c4..7331abb 100644 --- a/distbuild/pkg/filecache/client_test.go +++ b/distbuild/pkg/filecache/client_test.go @@ -77,9 +77,9 @@ func TestFileUpload(t *testing.T) { require.NoError(t, err) defer unlock() - content, err := ioutil.ReadFile(path) + actualContent, err := ioutil.ReadFile(path) require.NoError(t, err) - require.Equal(t, content, content) + require.Equal(t, content, actualContent) }) t.Run("RepeatedUpload", func(t *testing.T) {