Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStripStandardPorts (0.08 sec)

  1. cmd/server-startup-msg_test.go

    package cmd
    
    import (
    	"context"
    	"os"
    	"reflect"
    	"testing"
    )
    
    // Tests stripping standard ports from apiEndpoints.
    func TestStripStandardPorts(t *testing.T) {
    	apiEndpoints := []string{"http://127.0.0.1:9000", "http://127.0.0.2:80", "https://127.0.0.3:443"}
    	expectedAPIEndpoints := []string{"http://127.0.0.1:9000", "http://127.0.0.2", "https://127.0.0.3"}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top