test(hooks): fix testing

This commit is contained in:
Nightapes
2020-01-05 19:10:07 +01:00
parent aff2203d66
commit d92438b339

View File

@@ -94,7 +94,7 @@ func TestHelperProcess(t *testing.T) {
return return
} }
assert.Equal(t, "1.0.0", os.Args[3]) assert.Contains(t, os.Args, "1.0.0")
} }
func createVersion(version string) *semver.Version { func createVersion(version string) *semver.Version {