Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsNil (0.12 sec)

  1. cmd/data-usage_test.go

    			oSizes: sizeHistogram{0: 1, 1: 1, 2: 2, 4: 1},
    		},
    		{
    			path:  "/dir1/dira",
    			isNil: true,
    		},
    		{
    			path:  "/nonexistying",
    			isNil: true,
    		},
    	}
    
    	for _, w := range want {
    		p := path.Join(bucket, w.path)
    		t.Run(p, func(t *testing.T) {
    			e := got.find(p)
    			if w.isNil {
    				if e != nil {
    					t.Error("want nil, got", e)
    				}
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top