Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed May 17, 2024
1 parent 5555596 commit 1ab7de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mautil/mautil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestFilterPublic(t *testing.T) {
maddrs, err := mautil.StringsToMultiaddrs(addrs)
require.NoError(t, err)

expected := []multiaddr.Multiaddr{maddrs[1], maddrs[3], maddrs[5]}
expected := []multiaddr.Multiaddr{maddrs[1], maddrs[5]}

filtered := mautil.FilterPublic(maddrs)
require.Equal(t, len(expected), len(filtered))
Expand Down

0 comments on commit 1ab7de0

Please sign in to comment.