Fix UploadSingleFile test in distbuild/pkg/filecache
This commit is contained in:
parent
7cca06a1a3
commit
cd75697ac3
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue