ceremonyclient/go-libp2p/examples/libp2p-host/host_test.go

15 lines
266 B
Go
Raw Normal View History

2023-08-21 03:50:38 +00:00
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)
}