mirror of
https://github.com/drone-plugins/drone-docker.git
synced 2026-06-04 10:15:30 +08:00
Fix UT
This commit is contained in:
+1
-1
@@ -161,7 +161,7 @@ func TestCommandBuild(t *testing.T) {
|
||||
tc := tc
|
||||
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
cmd := commandBuild(tc.build)
|
||||
cmd := commandBuild(tc.build, "plugins/drone-docker:latest")
|
||||
|
||||
if !reflect.DeepEqual(cmd.String(), tc.want.String()) {
|
||||
t.Errorf("Got cmd %v, want %v", cmd, tc.want)
|
||||
|
||||
Reference in New Issue
Block a user