Skip to content

Commit

Permalink
Adding example log lines
Browse files Browse the repository at this point in the history
  • Loading branch information
krady committed Jul 3, 2024
1 parent 54266ed commit 3be22c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/line_count_analyzer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def test_report():
log_line_counter = LineCountAnalyzer()
out_stream = io.StringIO()

log_line_counter.read_log_line(log_line_counter)
log_line_counter.read_log_line(log_line_counter)
log_line_counter.read_log_line("line 1")
log_line_counter.read_log_line("line 2")
log_line_counter.report(out_stream)
assert out_stream.getvalue() == "Number of log lines: 2"

Expand Down

0 comments on commit 3be22c5

Please sign in to comment.