fix: Fix 1.19 incompatibilities

This commit is contained in:
soulteary 2023-01-09 22:02:57 +08:00
parent 5730b0e588
commit 5f59f90f9c
No known key found for this signature in database
GPG key ID: 8107DBA6BC84D986
11 changed files with 38 additions and 29 deletions

View file

@ -47,7 +47,7 @@ func TestStaticParams(t *testing.T) {
ResponseMessage: "success",
CaptureCommandOutput: true,
PassArgumentsToCommand: []hook.Argument{
hook.Argument{Source: "string", Name: "passed"},
{Source: "string", Name: "passed"},
},
}