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: release_test.go
    path of file: ./repos/erda/internal/apps/dop/endpoints
    
    the code of the file until where you have to start completion: // Copyright (c) 2021 Terminus, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lic
    
func Test_getSourcePathAndName(t *testing.T) {
	type args struct {
		name string
	}
	tests := []struct {
		name         string
		args         args
		wantPath     string
		wantFileName string
	}{
		{
			name: "test pipeline.yml",
			args: args{
				name: "pipeline.yml",
			},
			wantFileName: "pipeline.yml",
			wantPath:     "",
		},
		{
			name: "test .erda/pipelines/push.yml",
			args: args{
				name: ".erda/pipelines/push.yml",
			},
			wantFileName: "push.yml",
			wantPath:     ".erda/pipelines",
		},
		{
			name: "test .dice/pipelines/push.yml",
			args: args{
				name: ".dice/pipelines/push.yml",
			},
			wantFileName: "push.yml",
			wantPath:     ".dice/pipelines",
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			gotPath, gotFileName := getSourcePathAndName(tt.args.name)
			if gotPath != tt.wantPath {
				t.Errorf("getSourcePathAndName() gotPath = %v, want %v", gotPath, tt.wantPath)
			}
			if gotFileName != tt.wantFileName {
				t.Errorf("getSourcePathAndName() gotFileName = %v, want %v", gotFileName, tt.wantFileName)
			}
		})
	}
}