Skip to content

Commit

Permalink
Fix a doctest in base/path.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenpi committed May 17, 2017
1 parent acd3562 commit e9da26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/path.jl
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ Get the directory part of a path.
```jldoctest
julia> dirname("/home/myuser")
"/home"
```
See also: [`basename`](@ref)
```
"""
dirname(path::AbstractString) = splitdir(path)[1]

Expand Down

0 comments on commit e9da26a

Please sign in to comment.