- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMustSplitHostPort (0.15 sec)
-
cmd/net_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "errors" "fmt" "reflect" "testing" "github.com/minio/minio-go/v7/pkg/set" ) func TestMustSplitHostPort(t *testing.T) { testCases := []struct { hostPort string expectedHost string expectedPort string }{ {":54321", "", "54321"}, {"server:54321", "server", "54321"}, {":0", "", "0"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0)