ceremonyclient/go-libp2p/examples/libp2p-host/host_test.go
2023-08-20 23:07:43 -05:00

15 lines
266 B
Go

package main
import (
"testing"
"github.com/libp2p/go-libp2p/examples/testutils"
)
func TestMain(t *testing.T) {
var h testutils.LogHarness
h.ExpectPrefix("Hello World, my hosts ID is ")
h.ExpectPrefix("Hello World, my second hosts ID is ")
h.Run(t, run)
}