Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetTemplateLabels (0.19 sec)

  1. istioctl/pkg/validate/validate_test.go

    				t.Errorf("Output didn't match for 'istioctl %s'\n got %v\nwant: %v",
    					strings.Join(c.args, " "), output, c.expectedRegexp)
    			}
    		})
    	}
    }
    
    func TestGetTemplateLabels(t *testing.T) {
    	un := fromYAML(validDeployment)
    
    	labels, err := GetTemplateLabels(un)
    	if err != nil {
    		t.Fatal(err)
    	}
    	assert.Equal(t, labels, map[string]string{
    		"app":     "helloworld",
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top