chore(main): remove unused variable (#175)

This commit is contained in:
Bo-Yi Wu
2023-04-15 01:49:26 +08:00
committed by GitHub
parent ec6021f1f1
commit fb4058bc55
3 changed files with 29 additions and 120 deletions
-4
View File
@@ -590,8 +590,6 @@ func TestRemoveDestFile(t *testing.T) {
func TestPlugin_buildUnTarArgs(t *testing.T) {
type fields struct {
Repo Repo
Build Build
Config Config
DestFile string
}
@@ -687,8 +685,6 @@ func TestPlugin_buildUnTarArgs(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
p := &Plugin{
Repo: tt.fields.Repo,
Build: tt.fields.Build,
Config: tt.fields.Config,
DestFile: tt.fields.DestFile,
}