diff --git a/src/varnamedvector.jl b/src/varnamedvector.jl index 039b549d6..b324e9134 100644 --- a/src/varnamedvector.jl +++ b/src/varnamedvector.jl @@ -109,7 +109,7 @@ like `setindex!` and `getindex!` rather than directly accessing `vnv.vals`. ```jldoctest varnamedvector-struct julia> vnv[@varname(x)] -2-element Vector{Float64}: +2-element Vector{Real}: 46.0 48.0 diff --git a/test/runtests.jl b/test/runtests.jl index 9f2d21990..29a148789 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -91,18 +91,6 @@ include("test_util.jl") recursive=true, ) doctestfilters = [ - # Older versions will show "0 element Array" instead of "Type[]". - r"(Any\[\]|0-element Array{.+,[0-9]+})", - # Older versions will show "Array{...,1}" instead of "Vector{...}". - r"(Array{.+,\s?1}|Vector{.+})", - # Older versions will show "Array{...,2}" instead of "Matrix{...}". - r"(Array{.+,\s?2}|Matrix{.+})", - # Errors from macros sometimes result in `LoadError: LoadError:` - # rather than `LoadError:`, depending on Julia version. - r"ERROR: (LoadError:\s)+", - # Older versions do not have `;;]` but instead just `]` at end of the line - # => need to treat `;;]` and `]` as the same, i.e. ignore them if at the end of a line - r"(;;){0,1}\]$"m, # Ignore the source of a warning in the doctest output, since this is dependent on host. # This is a line that starts with "└ @ " and ends with the line number. r"└ @ .+:[0-9]+",