From 4c56393dc051664d2e973f2f9f9a945d0021d19e Mon Sep 17 00:00:00 2001 From: Prahlad Kutty <86133155+SilverCable@users.noreply.github.com> Date: Wed, 15 Jul 2026 13:42:32 -0400 Subject: [PATCH 1/3] Add new dog character --- cowsay/tests/solutions.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/cowsay/tests/solutions.py b/cowsay/tests/solutions.py index 372f03d..e3f552c 100644 --- a/cowsay/tests/solutions.py +++ b/cowsay/tests/solutions.py @@ -586,4 +586,32 @@ | / | \ | """, + + 'dog': r""" + _________________________________________________ + / \ +| Lorem ipsum dolor sit amet, consetetur sadipscing | +| elitr, sed diamnonumy eirmod tempor invidunt ut | +| labore et dolore magna aliquyam erat,sed diam vol | +| uptua. At vero eos et accusam et justo duo dolore | +| s et ea rebum. | + \ / + ================================================= + + \ + \ + \ + |\ /| + | \__/ | + | @ @ | + <> | + _/\_ |---------_____ + | `----| + | | |______ + ______|_ _____| |_____ _____ `--, + /_/______/___/__/__________| | ---) + +""", + + } From 174f64fb60680779323b552c47a51c7fe4560287 Mon Sep 17 00:00:00 2001 From: Prahlad Kutty Date: Thu, 16 Jul 2026 16:09:25 -0400 Subject: [PATCH 2/3] Add dog character --- README.md | 2 +- cowsay/characters.py | 16 ++++++++++++++++ cowsay/tests/solutions.py | 28 +++++++++++++--------------- cowsay/tests/test_api.py | 2 +- 4 files changed, 31 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 322e803..7ef4ae3 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ $ cowsay -t "Hello World" -c "tux" >>> cowsay.char_names ['beavis', 'cheese', 'cow', 'daemon', 'dragon', 'fox', 'ghostbusters', 'kitty', 'meow', 'miki', 'milk', 'octopus', 'pig', 'stegosaurus', 'stimpy', 'trex', -'turkey', 'turtle', 'tux'] +'turkey', 'turtle', 'tux', 'dog'] >>> cowsay.char_funcs diff --git a/cowsay/characters.py b/cowsay/characters.py index 3db9bad..8659198 100644 --- a/cowsay/characters.py +++ b/cowsay/characters.py @@ -401,4 +401,20 @@ | / | \ | ''', + + "dog": r''' + \ + \ + \ + |\ /| + | \__/ | + | @ @ | + <> | + _/\_ |---------_____ + | `----| + | | |______ + ______|_ _____| |_____ _____ `--, + /_/______/___/__/__________| | ---) +''', + } diff --git a/cowsay/tests/solutions.py b/cowsay/tests/solutions.py index e3f552c..645361d 100644 --- a/cowsay/tests/solutions.py +++ b/cowsay/tests/solutions.py @@ -596,21 +596,19 @@ | uptua. At vero eos et accusam et justo duo dolore | | s et ea rebum. | \ / - ================================================= - - \ - \ - \ - |\ /| - | \__/ | - | @ @ | - <> | - _/\_ |---------_____ - | `----| - | | |______ - ______|_ _____| |_____ _____ `--, - /_/______/___/__/__________| | ---) - + ================================================= + \ + \ + \ + |\ /| + | \__/ | + | @ @ | + <> | + _/\_ |---------_____ + | `----| + | | |______ + ______|_ _____| |_____ _____ `--, + /_/______/___/__/__________| | ---) """, diff --git a/cowsay/tests/test_api.py b/cowsay/tests/test_api.py index 8cdca79..a8c6ab2 100644 --- a/cowsay/tests/test_api.py +++ b/cowsay/tests/test_api.py @@ -8,7 +8,7 @@ def test_char_names(): characters = ['beavis', 'cheese', 'daemon', 'cow', 'dragon', 'ghostbusters', 'kitty', 'meow', 'milk', 'stegosaurus', 'stimpy', 'turkey', 'turtle', 'tux', - 'pig', 'trex', 'miki', 'fox', 'octopus'] + 'pig', 'trex', 'miki', 'fox', 'octopus', 'dog'] assert len(cowsay.char_names) == len(characters) assert cowsay.char_names == sorted(characters) From b755b4a94aecb54ee935b09cb16bc0ebac21b0fe Mon Sep 17 00:00:00 2001 From: Prahlad Kutty Date: Fri, 17 Jul 2026 15:20:48 -0400 Subject: [PATCH 3/3] Remove trailing whitespaces --- cowsay/tests/solutions.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cowsay/tests/solutions.py b/cowsay/tests/solutions.py index 645361d..32da602 100644 --- a/cowsay/tests/solutions.py +++ b/cowsay/tests/solutions.py @@ -610,6 +610,4 @@ ______|_ _____| |_____ _____ `--, /_/______/___/__/__________| | ---) """, - - -} +} \ No newline at end of file