Skip to content

Commit c08fefb

Browse files
authored
Merge pull request #19 from ShockwaveNN/feature/forgottent-test
Add forgotten test for daemon character
2 parents b28ca62 + 760af34 commit c08fefb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cowsay/test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,12 @@ def test_cow(self):
620620
solution = delete_empty_lines(COW_SOLUTION)
621621
assert output == solution
622622

623+
def test_daemon(self):
624+
output = capture_output(daemon, (LOREM))
625+
output = delete_empty_lines(output)
626+
solution = delete_empty_lines(DAEMON_SOLUTION)
627+
assert output == solution
628+
623629
def test_dragon(self):
624630
output = capture_output(dragon, (LOREM))
625631
output = delete_empty_lines(output)

0 commit comments

Comments
 (0)