From 1817c11f2c5d7262d92354266e9ad2215ac301bc Mon Sep 17 00:00:00 2001 From: jiangpeng <11565373+bysomeone@users.noreply.github.com> Date: Wed, 13 Sep 2023 10:52:22 +0800 Subject: [PATCH] test:fmt code --- system/p2p/dht/extension/mdns_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/p2p/dht/extension/mdns_test.go b/system/p2p/dht/extension/mdns_test.go index 561685ba9..9f47381de 100644 --- a/system/p2p/dht/extension/mdns_test.go +++ b/system/p2p/dht/extension/mdns_test.go @@ -12,9 +12,9 @@ func Test_mdns(t *testing.T) { defer cancel() hosts := getNetHosts(2, t) - tmdns, err := NewMDNS(ctx, hosts[0], "33test123") + _, err := NewMDNS(ctx, hosts[0], "33test123") require.Nil(t, err) - tmdns, err = NewMDNS(ctx, hosts[1], "33test123") + tmdns, err := NewMDNS(ctx, hosts[1], "33test123") require.Nil(t, err) select {