From 23bb80ab2c42d3a34ca43b5aee7c4e370e14597a Mon Sep 17 00:00:00 2001 From: LexLuthr Date: Thu, 4 Aug 2022 00:22:24 +0530 Subject: [PATCH] fix lint errors --- itests/worker_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/itests/worker_test.go b/itests/worker_test.go index 705ca0d5a..e9097c56e 100644 --- a/itests/worker_test.go +++ b/itests/worker_test.go @@ -3,12 +3,12 @@ package itests import ( "context" "encoding/json" - "github.com/google/uuid" "strings" "sync/atomic" "testing" "time" + "github.com/google/uuid" logging "github.com/ipfs/go-log/v2" "github.com/stretchr/testify/require" "golang.org/x/xerrors" @@ -460,6 +460,7 @@ func TestSchedulerRemoveRequest(t *testing.T) { } j, err := json.MarshalIndent(&schedb, "", " ") + require.NoError(t, err) var b info err = json.Unmarshal(j, &b) @@ -487,6 +488,7 @@ func TestSchedulerRemoveRequest(t *testing.T) { } k, err := json.MarshalIndent(&scheda, "", " ") + require.NoError(t, err) var a info err = json.Unmarshal(k, &a)