Skip to content

Commit

Permalink
Fix docstring output to fix broken doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
NHDaly authored and StefanKarpinski committed Sep 24, 2018
1 parent 584d1b3 commit f8f7088
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion base/path.jl
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,11 @@ the path, including the root directory if present.
# Examples
```jldoctest
julia> splitpath("/home/myuser/example.jl")
["/", "home", "myuser", "example.jl"]
4-element Array{String,1}:
"/"
"home"
"myuser"
"example.jl"
```
"""
function splitpath(p::String)
Expand Down

0 comments on commit f8f7088

Please sign in to comment.