diff --git a/pkg/action/action_test.go b/pkg/action/action_test.go index b43ad2cf3..8b4bd160d 100644 --- a/pkg/action/action_test.go +++ b/pkg/action/action_test.go @@ -1199,9 +1199,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) {