Skip to content

Commit 8b6e4b1

Browse files
committed
fixed failing jldoctest
1 parent 228d01d commit 8b6e4b1

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/docstrings.jl

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -761,12 +761,10 @@ The wrapped string.
761761
Examples
762762
```jldoctest
763763
julia> str_wrap("This is an example text that should be wrapped based on the given width and breaking rules.", width=20, whitespace_only=true)
764-
"This is an example\ntext that should be\nwrapped based on the\ngiven width and\nbreaking rules."
765-
766-
julia> str_wrap("This is an example text that should be wrapped based on the given width and breaking rules.", width=20, whitespace_only=false)
767-
"This is an example\ntext that should be\nwrapped based on\nthe given width\nand breaking\nrules."
768-
769-
julia> str_wrap("This is an example text that should be wrapped based on the given width and breaking rules.", width=20, indent=4, whitespace_only=true)
770-
" This is an\n example text\n that should\n be wrapped\n based on the\n given width\n and breaking\n rules."
764+
"This is an example
765+
text that should be
766+
wrapped based on the
767+
given width and
768+
breaking rules."
771769
```
772770
"""

0 commit comments

Comments
 (0)