Skip to content

Commit

Permalink
improving report format of startup header analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
kitrady committed Jul 28, 2024
1 parent fc4ddfb commit 3879614
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/alogamous/startup_header_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ def read_log_line(self, line):
self.startup_block = False

def report(self, out_stream):
out_stream.write("\nLines that are part of the startup header:\n- ")
out_stream.write("\nLines that are part of the startup header(s):\n- ")
out_stream.write("\n- ".join(self.startup_lines))
2 changes: 1 addition & 1 deletion tests/startup_header_analyzer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_report():
assert (
out_stream.getvalue()
== """
Lines that are part of the startup header:
Lines that are part of the startup header(s):
- STARTING Tracking service
- Start time: 2024-06-20 09:00:00.001550+00:00
- Version: 2729a
Expand Down

0 comments on commit 3879614

Please sign in to comment.