all: A few more interesting linter fixes (#5502)

A couple of minor bugs and simplifications
This commit is contained in:
Jakob Borg
2019-02-02 12:09:07 +01:00
committed by GitHub
parent 0b2cabbc31
commit 9fd270d78e
20 changed files with 55 additions and 68 deletions

View File

@@ -193,7 +193,7 @@ func TestSendDownloadProgressMessages(t *testing.T) {
v2 := (protocol.Vector{}).Update(1)
// Requires more than 10 blocks to work.
blocks := make([]protocol.BlockInfo, 11, 11)
blocks := make([]protocol.BlockInfo, 11)
state1 := &sharedPullerState{
folder: "folder",