Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for assertableTo (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    			}
    
    			klog.Flush()
    			klog.SetOutput(&bytes.Buffer{}) // prevent further writes into buf
    			capturedOutput := buf.String()
    
    			// replace the uid with a constant to make the test output stable and assertable
    			capturedOutput = regexp.MustCompile(`uid="[^"]+"`).ReplaceAllString(capturedOutput, `uid="UID"`)
    
    			for _, wantLog := range tc.wantLogs {
    				if !strings.Contains(capturedOutput, wantLog) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
Back to top