From b5404cdfeeb36db44cbb65c0c05d25330e020f20 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Wed, 28 Jul 2021 11:47:38 -0400 Subject: [PATCH] lint ++ --- light/detector_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/light/detector_test.go b/light/detector_test.go index 487d12a62..0bf96ace6 100644 --- a/light/detector_test.go +++ b/light/detector_test.go @@ -433,7 +433,9 @@ func TestClientDivergentTraces2(t *testing.T) { // 3. witness has the same first header, but different second header // => creation should succeed, but the verification should fail +//nolint: dupl func TestClientDivergentTraces3(t *testing.T) { + // primaryHeaders, primaryVals, _ := genLightBlocksWithKeys(chainID, 2, 5, 2, bTime) mockPrimary := mockNodeFromHeadersAndVals(primaryHeaders, primaryVals) @@ -469,7 +471,9 @@ func TestClientDivergentTraces3(t *testing.T) { // 4. Witness has a divergent header but can not produce a valid trace to back it up. // It should be ignored +//nolint: dupl func TestClientDivergentTraces4(t *testing.T) { + // primaryHeaders, primaryVals, _ := genLightBlocksWithKeys(chainID, 2, 5, 2, bTime) mockPrimary := mockNodeFromHeadersAndVals(primaryHeaders, primaryVals)