Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestConvertSliceStringToPointerTime (0.25 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/conversion_test.go

    			continue
    		}
    		if !apiequality.Semantic.DeepEqual(dpPtr, &tc.Output) {
    			t.Errorf("slice string to DeletionPropagation conversion failed: got %v; want %v", *dpPtr, tc.Output)
    		}
    	}
    }
    
    func TestConvertSliceStringToPointerTime(t *testing.T) {
    	t1 := v1.Date(1998, time.May, 5, 5, 5, 5, 0, time.UTC)
    	t1String := t1.Format(time.RFC3339)
    	t2 := v1.Date(2000, time.June, 6, 6, 6, 6, 0, time.UTC)
    	t2String := t2.Format(time.RFC3339)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 02 09:39:03 UTC 2019
    - 3.2K bytes
    - Viewed (0)
Back to top