blob: 63a10261b8c15321c65e3ea5a8ff8a4e55af14e4 [file] [log] [blame]
package ports_test
import (
"github.com/apache/servicecomb-mesher/proxy/pkg/ports"
"github.com/stretchr/testify/assert"
"testing"
)
func TestSetFixedPort(t *testing.T) {
ports.SetFixedPort("rpc", "9090")
assert.Equal(t, "9090", ports.GetFixedPort("rpc"))
}