From aa19940d2b9c52eaad70468909eebf55c9b3e9ed Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Wed, 14 Feb 2024 14:39:33 +0000 Subject: [PATCH] Update testcase to cover trailing newlines in another case The fix in 3ad2008e41dd1d4584142a8692f3aef677d2db96 fixed trailing newlines in a few scenarios, and updated the tests to cover most of them, but there was one more case not tested, which is resolved now. --- libherokubuildpack/src/buildpack_output/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libherokubuildpack/src/buildpack_output/mod.rs b/libherokubuildpack/src/buildpack_output/mod.rs index 03b18741..83e1bccf 100644 --- a/libherokubuildpack/src/buildpack_output/mod.rs +++ b/libherokubuildpack/src/buildpack_output/mod.rs @@ -540,7 +540,7 @@ mod test { fn write_paragraph_empty_lines() { let io = BuildpackOutput::new(Vec::new()) .start("Example Buildpack\n\n") - .warning("hello\n\n\t\t\nworld") + .warning("\n\nhello\n\n\t\t\nworld\n\n") .section("Version\n\n") .step("Installing\n\n") .finish()