Fix UploadSingleFile test in distbuild/pkg/filecache

This commit is contained in:
Alexey Stytsenko 2020-04-22 23:23:39 +00:00 committed by Fedor Korotkiy
parent 7cca06a1a3
commit cd75697ac3

View file

@ -77,9 +77,9 @@ func TestFileUpload(t *testing.T) {
require.NoError(t, err) require.NoError(t, err)
defer unlock() defer unlock()
content, err := ioutil.ReadFile(path) actualContent, err := ioutil.ReadFile(path)
require.NoError(t, err) require.NoError(t, err)
require.Equal(t, content, content) require.Equal(t, content, actualContent)
}) })
t.Run("RepeatedUpload", func(t *testing.T) { t.Run("RepeatedUpload", func(t *testing.T) {