fixed lint
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2019-10-13 13:14:25 +02:00
parent 258296727a
commit fcc5c20bf8
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 3 deletions

View File

@ -73,9 +73,7 @@ func (t *testfile) Read(p []byte) (n int, err error) {
if t.done {
return 0, io.EOF
}
for i, b := range t.content {
p[i] = b
}
copy(p, t.content)
t.done = true
return len(p), nil
}