Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/volume/util/atomic_writer_test.go

    		cleanPathPayload[filepath.Clean(k)] = v
    	}
    
    	if !reflect.DeepEqual(cleanPathPayload, observedPayload) {
    		t.Errorf("%v: payload and observed payload do not match.", tcName)
    	}
    }
    
    func TestValidatePayload(t *testing.T) {
    	maxPath := strings.Repeat("a", maxPathLength+1)
    
    	cases := []struct {
    		name     string
    		payload  map[string]FileProjection
    		expected sets.Set[string]
    		valid    bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top