From b5fd6ec880587991ae1e46008ba7489d03b70327 Mon Sep 17 00:00:00 2001 From: Rob Dawson Date: Fri, 3 Nov 2017 14:23:23 +1000 Subject: [PATCH] eth/downloader: fixed formatting. --- eth/downloader/downloader_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/downloader/downloader_test.go b/eth/downloader/downloader_test.go index ef68f00e89..7d1cc8c340 100644 --- a/eth/downloader/downloader_test.go +++ b/eth/downloader/downloader_test.go @@ -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 // and not with the other tests, avoiding intermittent failures. func TestDeliverHeadersHang(t *testing.T) { - testCases :=[]struct { + testCases := []struct { protocol int 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 // and not with the other tests, avoiding intermittent failures. func TestFastCriticalRestarts(t *testing.T) { - testCases :=[]struct { + testCases := []struct { protocol int progress bool }{