Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_getFirstColumn (0.29 sec)

  1. pkg/proxy/ipvs/proxier_test.go

    	// all addresses should be unbound
    	if len(remainingAddrs) != 0 {
    		t.Errorf("Expected number of remaining bound addrs after cleanup to be %v. Got %v", 0, len(remainingAddrs))
    	}
    }
    
    func Test_getFirstColumn(t *testing.T) {
    	testCases := []struct {
    		name        string
    		fileContent string
    		want        []string
    		wantErr     bool
    	}{
    		{
    			name: "valid content",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
Back to top