From b92c1ba43a9ec4cbfb3f4fcebd4f88b144bdd188 Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Sat, 29 Apr 2017 07:56:02 -0400 Subject: [PATCH] fix line number in a doctest --- base/strings/util.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/strings/util.jl b/base/strings/util.jl index fca9ca1406cb0..c4c4459545128 100644 --- a/base/strings/util.jl +++ b/base/strings/util.jl @@ -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"