Here's a snippet from a recent CI failure:
```jldoctest; filters=r"\d\d?\d?\.\d{3} [μmn]?s( \(.*\))?|0 ns|<0.001 ns"
julia> @b 1
0.713 ns
julia> @b 1.0
1.135 ns
julia> @b 1.0 map=Returns(nothing)
0 ns
```
Subexpression:
@b 1.0 map=Returns(nothing)
Evaluated output:
<0.001 ns
Expected output:
0 ns
diff =
Warning: Diff output requires color.
0 <0.001 ns
Why is the filter not working?
Is it just a typo/copy paste error or does the first line actually say filters
instead of filter
in your doctest? If the latter, that might be the issue.
I knew it was something obvious, thanks!
Lilith Hafner has marked this topic as resolved.
Last updated: Nov 06 2024 at 04:40 UTC