spiegel_podman/test/utils
Kir Kolyshkin d316cbb362 Don't use append if not necessary
Calling append can lead to resizing the slice. In case we have all
elements beforehand, it is not necessary to call append in the first
place and this avoid resizing.

This is the first part of fixing issues reported by prealloc linter from
golangci-lint v2.8.0.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-02-11 11:41:10 -08:00
..
common_function_test.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
matchers.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
podmansession_test.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
podmantest_test.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
utils.go Don't use append if not necessary 2026-02-11 11:41:10 -08:00
utils_suite_test.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00