spiegel_podman/test/utils
Atishyy27 ef171ba1b9
Fix ErrorToStringArray handling of empty stderr output
strings.Split(output, "\n") on empty output returns [""], not []. so
ErrorToStringArray() reported empty stderr as one line of empty output
instead of no output, and any caller checking len() got a wrong count.

volume_ls_test.go had to carry HaveLen(1) just to tolerate that on
empty stderr, updated to BeEmpty() now that the length is actually
correct.

filter out empty lines when building the result.

Signed-off-by: Atishyy27 <142108881+Atishyy27@users.noreply.github.com>
2026-08-20 16:24:26 +05:30
..
common_function_test.go test/e2e: rework GetHostDistributionInfo 2026-06-30 10:32:33 +02:00
matchers.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
podmansession_test.go Fix ErrorToStringArray handling of empty stderr output 2026-08-20 16:24:26 +05:30
podmantest_test.go test/e2e: remove WaitForContainer 2026-06-22 20:08:36 +02:00
utils.go Fix ErrorToStringArray handling of empty stderr output 2026-08-20 16:24:26 +05:30
utils_suite_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00