fixed lint
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
258296727a
commit
fcc5c20bf8
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue