open-consul/agent/consul/testing_test.go

14 lines
147 B
Go

package consul
import (
"os"
"testing"
)
func TestMain(m *testing.M) {
// Register the test RPC endpoint
TestEndpoint()
os.Exit(m.Run())
}