Sign in
apache
/
servicecomb-mesher
/
44c681c8ea0876a1ff0a2452702fac59f4986d91
/
.
/
pkg
/
ports
/
protocol_test.go
blob: a0c361dad348fd7147abc8ed89eb8353e89ad09a [
file
] [
log
] [
blame
]
package ports_test
import (
"github.com/go-mesh/mesher/pkg/ports"
"github.com/stretchr/testify/assert"
"testing"
)
func TestSetFixedPort(t *testing.T) {
ports.SetFixedPort("rpc", "9090")
assert.Equal(t, "9090", ports.GetFixedPort("rpc"))
}