forked from TrueCloudLab/frostfs-http-gw
[#132] Update Go version
Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
This commit is contained in:
parent
5ee09790f0
commit
151e5bc1c8
10 changed files with 16 additions and 17 deletions
|
@ -35,7 +35,7 @@ func TestDetector(t *testing.T) {
|
|||
} {
|
||||
t.Run(tc.Name, func(t *testing.T) {
|
||||
contentType, data, err := readContentType(uint64(len(tc.Expected)),
|
||||
func(sz uint64) (io.Reader, error) {
|
||||
func(uint64) (io.Reader, error) {
|
||||
return strings.NewReader(tc.Expected), nil
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue