pulumi/pkg/testing
Abhinav Gupta 65194ecdf7
pkg: Fix unnecessary appends
Removes unnecessary appends in pkg.
There were two instances:

- append into a slice that's never used again
- append with nothing to append (`append([]{foo}) == []{foo}`)

Issue found by staticcheck:

```
testing/integration/program.go:2190:15: SA4021: x = append(y) is equivalent to x = y (staticcheck)
testing/integration/program.go:2192:15: SA4021: x = append(y) is equivalent to x = y (staticcheck)
codegen/pcl/utilities.go:158:11: SA4010: this result of append is never used, except maybe in other appends (staticcheck)
```

Refs #11808
2023-01-13 12:27:54 -08:00
..
integration pkg: Fix unnecessary appends 2023-01-13 12:27:54 -08:00