You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: gcs_test.go
    path of file: ./repos/beam/sdks/go/pkg/beam/util/gcsx
    
    the code of the file until where you have to start completion: // Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements.  See the NOTICE 
    
func TestParseObject(t *testing.T) {
	tests := []struct {
		object string
		bucket string
		path   string
		err    error
	}{
		{
			object: "gs://some-bucket/some-object",
			bucket: "some-bucket",
			path:   "some-object",
			err:    nil,
		},
		{
			object: "gs://some-bucket",
			bucket: "some-bucket",
			path:   "",
			err:    nil,
		},
		{
			object: "gs://",
			bucket: "",
			path:   "",
			err:    errors.Errorf("object gs:// must have bucket"),
		},
		{
			object: "other://some-bucket/some-object",
			bucket: "",
			path:   "",
			err:    errors.Errorf("object other://some-bucket/some-object must have 'gs' scheme"),
		},
	}

	for _, test := range tests {
		if bucket, path, err := ParseObject(test.object); bucket != test.bucket || path != test.path || (err != nil && test.err == nil) || (err == nil && test.err != nil) {
			t.Errorf("ParseObject(%v) Got: %v, %v, %v Want: %v, %v, %v", test.object, bucket, path, err, test.bucket, test.path, test.err)
		}
	}
}