diff --git a/pkg/action/action_test.go b/pkg/action/action_test.go index ae59db4eb..880a9930b 100644 --- a/pkg/action/action_test.go +++ b/pkg/action/action_test.go @@ -1198,9 +1198,9 @@ data: `, }, - // Multi-doc tests: block scalar doc is NOT the last document. - // SplitManifests' regex consumes \s*\n before ---, so trailing - // newlines from non-last docs are always stripped. + // Multi-doc block scalar tests where the block scalar document is NOT the last: + // the separator regex does not consume trailing newlines, so YAML chomping + // indicators (|, |+, |-) are respected. // | (clip) in multi-doc (first doc) {