Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/utils_test.go

    		if isMax != s.isMax {
    			t.Errorf("Test %d: Expected %t, got %t", i+1, s.isMax, isMax)
    		}
    	}
    }
    
    // Tests extracting bucket and objectname from various types of paths.
    func TestPath2BucketObjectName(t *testing.T) {
    	testCases := []struct {
    		path           string
    		bucket, object string
    	}{
    		// Test case 1 normal case.
    		{
    			path:   "/bucket/object",
    			bucket: "bucket",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top