Skip to content

Commit

Permalink
fix line number in a doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed Apr 29, 2017
1 parent a0c1429 commit b92c1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/strings/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ throwing an `ArgumentError` indicating the position of the first non-ASCII byte.
julia> ascii("abcdeγfgh")
ERROR: ArgumentError: invalid ASCII at index 6 in "abcdeγfgh"
Stacktrace:
[1] ascii(::String) at ./strings/util.jl:475
[1] ascii(::String) at ./strings/util.jl:479
julia> ascii("abcdefgh")
"abcdefgh"
Expand Down

0 comments on commit b92c1ba

Please sign in to comment.