Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUnmarshalSelectionSpec (0.18 sec)

  1. tools/bug-report/pkg/config/config_test.go

    		t.Fatal(err)
    	}
    
    	if !reflect.DeepEqual(got, want) {
    		t.Errorf("got:\n%s\nwant:\n%s\n\ndiff (-got, +want):\n%s\n", pretty.Sprint(got), pretty.Sprint(want), cmp.Diff(got, want))
    	}
    }
    
    func TestUnmarshalSelectionSpec(t *testing.T) {
    	include := "ns1,ns2/d1,d2/p1,p2/l1=lv1,l2=lv2/a1=av1,a2=av2/c1,c2"
    	want := &SelectionSpec{
    		Namespaces:  []string{"ns1", "ns2"},
    		Deployments: []string{"d1", "d2"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 15 15:19:50 UTC 2021
    - 4.4K bytes
    - Viewed (0)
Back to top