Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testStorageAPIDeleteFile (0.31 sec)

  1. cmd/storage-rest_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    
    			if !bytes.Equal(data, testCase.data) {
    				t.Fatalf("case %v: expected %v, got %v", i+1, testCase.data, data)
    			}
    		}
    	}
    }
    
    func testStorageAPIDeleteFile(t *testing.T, storage StorageAPI) {
    	err := storage.AppendFile(context.Background(), "foo", "myobject", []byte("foo"))
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    
    	testCases := []struct {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top