Skip to content

Commit

Permalink
Update testcase to cover trailing newlines in another case
Browse files Browse the repository at this point in the history
The fix in 3ad2008 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.
  • Loading branch information
edmorley committed Feb 14, 2024
1 parent 3ad2008 commit aa19940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libherokubuildpack/src/buildpack_output/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit aa19940

Please sign in to comment.