Skip to content

Commit b7fd9ea

Browse files
authored
Remove extra doctest filters (#769)
1 parent 6657441 commit b7fd9ea

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

src/varnamedvector.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ like `setindex!` and `getindex!` rather than directly accessing `vnv.vals`.
109109
110110
```jldoctest varnamedvector-struct
111111
julia> vnv[@varname(x)]
112-
2-element Vector{Float64}:
112+
2-element Vector{Real}:
113113
46.0
114114
48.0
115115

test/runtests.jl

-12
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,6 @@ include("test_util.jl")
9191
recursive=true,
9292
)
9393
doctestfilters = [
94-
# Older versions will show "0 element Array" instead of "Type[]".
95-
r"(Any\[\]|0-element Array{.+,[0-9]+})",
96-
# Older versions will show "Array{...,1}" instead of "Vector{...}".
97-
r"(Array{.+,\s?1}|Vector{.+})",
98-
# Older versions will show "Array{...,2}" instead of "Matrix{...}".
99-
r"(Array{.+,\s?2}|Matrix{.+})",
100-
# Errors from macros sometimes result in `LoadError: LoadError:`
101-
# rather than `LoadError:`, depending on Julia version.
102-
r"ERROR: (LoadError:\s)+",
103-
# Older versions do not have `;;]` but instead just `]` at end of the line
104-
# => need to treat `;;]` and `]` as the same, i.e. ignore them if at the end of a line
105-
r"(;;){0,1}\]$"m,
10694
# Ignore the source of a warning in the doctest output, since this is dependent on host.
10795
# This is a line that starts with "└ @ " and ends with the line number.
10896
r"└ @ .+:[0-9]+",

0 commit comments

Comments
 (0)