blob: ec3131e4987d94b897afcd4b7ce8c176aaa0b433 [file] [log] [blame]
package sser
import (
"context"
"testing"
"github.com/stretchr/testify/require"
)
func TestPeerFinderLocalhost_Start_AlwaysReturnsTheSameValues(t *testing.T) {
ips, _, err := PeerFinderLocalhost{}.Start(context.Background())
require.Equal(t, []string{"127.0.0.1"}, ips)
require.NoError(t, err)
}