Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

          listKey:
          - k1: v1
          - k2: null
          - v3
        expectedWithNull: {}
        expectedWithoutNull:
          listKey:
          - k1: v1
          - k2: null
          - v3
    `)
    
    func TestKeepOrDeleteNullInObj(t *testing.T) {
    	tc := FilterNullTestCases{}
    	err := yaml.Unmarshal(filterNullTestCaseData, &tc)
    	if err != nil {
    		t.Fatalf("can't unmarshal test cases: %s\n", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top