diff --git a/nucleus/integration_test.go b/nucleus/integration_test.go index 455138f97b17d93667b8e1e888bcaafe586ea350..b06da3e81e6c0f00305a11f7ba28bece0d1394fe 100644 --- a/nucleus/integration_test.go +++ b/nucleus/integration_test.go @@ -274,7 +274,7 @@ func TestGnmi_SubscribeIntegration(t *testing.T) { go func() { subErr := g.Subscribe(ctx) if (subErr != nil) != wantErr { - if !wantErr && subErr != nil{ + if !wantErr && subErr != nil { if subErr.Error() != "rpc error: code = Canceled desc = context canceled" { t.Errorf("Subscribe() error = %v, wantErr %v", err, tt.wantErr) }