From 1bf85300d4bbe189ad7da40b25a74897dbcf8ddd Mon Sep 17 00:00:00 2001 From: guillaumemichel Date: Thu, 30 Oct 2025 09:44:46 +0100 Subject: [PATCH] address review --- core/coreiface/tests/routing.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/coreiface/tests/routing.go b/core/coreiface/tests/routing.go index bdffed9e1..fa7bdd52b 100644 --- a/core/coreiface/tests/routing.go +++ b/core/coreiface/tests/routing.go @@ -254,7 +254,8 @@ func (tp *TestSuite) TestRoutingProvide(t *testing.T) { if provider.ID.String() == self0.ID().String() { success = true break - } else if len(provider.ID.String()) > 0 { + } + if len(provider.ID.String()) > 0 { t.Errorf("got wrong provider: %s != %s", provider.ID.String(), self0.ID().String()) } time.Sleep(time.Second)