Skip to content

Commit

Permalink
Remove flakey doctests (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner authored Feb 23, 2024
1 parent cff553d commit ae31ca4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/public.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $(replace(DOCSTRING_BODY, "@bx" => "@b"))
# Examples
```jldoctest; filter = r"\\d+", setup = :(using Random)
```julia
julia> @b rand(10000) # Benchmark a function
5.833 μs (2 allocs: 78.172 KiB)
Expand Down Expand Up @@ -130,7 +130,7 @@ $(replace(DOCSTRING_BODY, "@bx" => "@be"))
# Examples
```jldoctest; filter = r"\\d+|evaluations?|, \\d+\\.\\d+% gc time|max \\d+\\.\\d+ ..", setup = :(using Random)
```julia
julia> @be rand(10000) # Benchmark a function
Benchmark: 267 samples with 2 evaluations
min 8.500 μs (2 allocs: 78.172 KiB)
Expand Down

0 comments on commit ae31ca4

Please sign in to comment.