Skip to content

Commit

Permalink
feat(readme): add section (end)
Browse files Browse the repository at this point in the history
  • Loading branch information
fdelbrayelle committed May 18, 2022
1 parent 1d89445 commit af54db4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void addSection(final Project project, final String header, final String
"",
README_MD,
"<!-- jhipster-needle-readme -->",
body + "\n\n<!-- jhipster-needle-readme -->"
header + "\n\n" + body + "\n\n<!-- jhipster-needle-readme -->"
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ void shouldAddSection() {
"# Apache Kafka",
"""
# Apache Kafka
Description of the tasks to be launched.
"""
);
Expand All @@ -46,11 +47,13 @@ void shouldNotAddSection() {
"# Apache Kafka",
"""
# Apache Kafka
Description of the tasks to be launched.
"""
);
readMeApplicationService.addSection(project, "# Apache Kafka", """
# Apache Kafka
Update section content.
""");

Expand Down

0 comments on commit af54db4

Please sign in to comment.