mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-22 08:17:50 +00:00
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> |
||
|---|---|---|
| .. | ||
| common_function_test.go | ||
| matchers.go | ||
| podmansession_test.go | ||
| podmantest_test.go | ||
| utils.go | ||
| utils_suite_test.go | ||