Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for deepEqual (0.17 sec)

  1. istioctl/pkg/authz/analyzer_test.go

    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			var buf bytes.Buffer
    			a.Print(&buf)
    			expectedOutput := "ACTION   AuthorizationPolicy   RULES\n"
    			actualOutput := buf.String()
    			if !reflect.DeepEqual(expectedOutput, actualOutput) {
    				t.Errorf("Found %v, wanted %v", actualOutput, expectedOutput)
    			}
    		})
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top