eth/downloader: fixed formatting.

This commit is contained in:
Rob Dawson 2017-11-03 14:23:23 +10:00
parent 35d587bf6c
commit b5fd6ec880

View file

@ -1675,7 +1675,7 @@ func testFakedSyncProgress(t *testing.T, protocol int, mode SyncMode) {
// We use data driven subtests to manage this so that it will be parallel on its own // We use data driven subtests to manage this so that it will be parallel on its own
// and not with the other tests, avoiding intermittent failures. // and not with the other tests, avoiding intermittent failures.
func TestDeliverHeadersHang(t *testing.T) { func TestDeliverHeadersHang(t *testing.T) {
testCases :=[]struct { testCases := []struct {
protocol int protocol int
syncMode SyncMode syncMode SyncMode
}{ }{
@ -1765,7 +1765,7 @@ func testDeliverHeadersHang(t *testing.T, protocol int, mode SyncMode) {
// We use data driven subtests to manage this so that it will be parallel on its own // We use data driven subtests to manage this so that it will be parallel on its own
// and not with the other tests, avoiding intermittent failures. // and not with the other tests, avoiding intermittent failures.
func TestFastCriticalRestarts(t *testing.T) { func TestFastCriticalRestarts(t *testing.T) {
testCases :=[]struct { testCases := []struct {
protocol int protocol int
progress bool progress bool
}{ }{