Add bunny test

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2021-11-23 12:39:15 -06:00
parent 90e0fd88db
commit 09db62aac7
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 39 additions and 9 deletions

View file

@ -19,15 +19,15 @@ uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
[[DocStringExtensions]]
deps = ["LibGit2"]
git-tree-sha1 = "a32185f5428d3986f47c2ab78b1f216d5e6cc96f"
git-tree-sha1 = "b19534d1895d702889b219c382a6e18010797f0b"
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
version = "0.8.5"
version = "0.8.6"
[[Documenter]]
deps = ["ANSIColoredPrinters", "Base64", "Dates", "DocStringExtensions", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
git-tree-sha1 = "fe0bc46b27cd3413df55859152fd70e50744025f"
git-tree-sha1 = "f425293f7e0acaf9144de6d731772de156676233"
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
version = "0.27.6"
version = "0.27.10"
[[IOCapture]]
deps = ["Logging", "Random"]
@ -64,9 +64,9 @@ uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
[[Parsers]]
deps = ["Dates"]
git-tree-sha1 = "438d35d2d95ae2c5e8780b330592b6de8494e779"
git-tree-sha1 = "ae4bbcadb2906ccc085cf52ac286dc1377dceccc"
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
version = "2.0.3"
version = "2.1.2"
[[Printf]]
deps = ["Unicode"]

View file

@ -2,7 +2,20 @@
Examples of all the cowfiles available.
## Bovine
```@docs
Cowsay.default
```
## Mascots
```@docs
Cowsay.blowfish
```
## Other
```@docs
Cowsay.bunny
```

View file

@ -1,6 +1,23 @@
##
## A cute little wabbit
##
"""
function bunny()
A cute little wabbit
# Example
```jldoctest
julia> cowsay("Look at that tortoise way off in the distance.", cow=Cowsay.bunny)
________________________________________________
< Look at that tortoise way off in the distance. >
------------------------------------------------
\\
\\ \\
\\ /\\
( )
.( o ).
```
"""
function bunny(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""