diff --git a/docs/src/submodules/Bridges/implementation.md b/docs/src/submodules/Bridges/implementation.md index f0ef9d7141..ae821f0087 100644 --- a/docs/src/submodules/Bridges/implementation.md +++ b/docs/src/submodules/Bridges/implementation.md @@ -66,7 +66,7 @@ arguments: the type of the bridge, the input model as a string, and the output model as a string. Here is an example: -```jldoctest; filter=r"[0-9.]+s" +```jldoctest; filter=[r"[0-9.]+s", r"\s+Time"] julia> MOI.Bridges.runtests( MOI.Bridges.Constraint.GreaterToLessBridge, """ @@ -100,7 +100,7 @@ There are a number of other useful keyword arguments. Here is an example: -```jldoctest; filter=r"[0-9.]+s" +```jldoctest; filter=[r"[0-9.]+s", r"\s+Time"] julia> MOI.Bridges.runtests( MOI.Bridges.Constraint.GreaterToLessBridge, """ diff --git a/src/Bridges/Bridges.jl b/src/Bridges/Bridges.jl index b3b963a9f6..797428d02f 100644 --- a/src/Bridges/Bridges.jl +++ b/src/Bridges/Bridges.jl @@ -273,7 +273,7 @@ and [`MOI.ConstraintPrimalStart`](@ref) to throw [`MOI.GetAttributeNotAllowed`]( ## Example -```jldoctest; filter=r"[0-9.]+s" +```jldoctest; filter=[r"[0-9.]+s", r"\\s+Time"] julia> MOI.Bridges.runtests( MOI.Bridges.Constraint.ZeroOneBridge, model -> MOI.add_constrained_variable(model, MOI.ZeroOne()), @@ -423,7 +423,7 @@ Run a series of tests that check the correctness of `Bridge`. ## Example -```jldoctest; filter=r"[0-9.]+s" +```jldoctest; filter=[r"[0-9.]+s", r"\\s+Time"] julia> MOI.Bridges.runtests( MOI.Bridges.Constraint.ZeroOneBridge, \"\"\"