Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectList (0.33 sec)

  1. pkg/controller/job/job_controller_test.go

    			}
    			if len(gotList) != len(tc.expectList) {
    				t.Errorf("got a list of length %d, want %d", len(gotList), len(tc.expectList))
    			}
    			if diff := cmp.Diff(tc.expectList, gotList, cmpopts.IgnoreFields(batch.JobCondition{}, "LastProbeTime", "LastTransitionTime")); diff != "" {
    				t.Errorf("Unexpected JobCondition list: (-want,+got):\n%s", diff)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    	// Normal 100-continues, case-insensitive.
    	expectTest(100, "100-continue", true, "100 Continue"),
    	expectTest(100, "100-cOntInUE", true, "100 Continue"),
    
    	// No 100-continue.
    	expectTest(100, "", true, "200 OK"),
    
    	// 100-continue but requesting client to deny us,
    	// so it never reads the body.
    	expectTest(100, "100-continue", false, "401 Unauthorized"),
    	// Likewise without 100-continue:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top