Skip to content

Commit ecdf735

Browse files
authored
[docs] filter varying width Time column in doctest (#2748)
1 parent 86bfa1d commit ecdf735

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/src/submodules/Bridges/implementation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ arguments: the type of the bridge, the input model as a string, and the output
6666
model as a string.
6767

6868
Here is an example:
69-
```jldoctest; filter=r"[0-9.]+s"
69+
```jldoctest; filter=[r"[0-9.]+s", r"\s+Time"]
7070
julia> MOI.Bridges.runtests(
7171
MOI.Bridges.Constraint.GreaterToLessBridge,
7272
"""
@@ -100,7 +100,7 @@ There are a number of other useful keyword arguments.
100100

101101
Here is an example:
102102

103-
```jldoctest; filter=r"[0-9.]+s"
103+
```jldoctest; filter=[r"[0-9.]+s", r"\s+Time"]
104104
julia> MOI.Bridges.runtests(
105105
MOI.Bridges.Constraint.GreaterToLessBridge,
106106
"""

src/Bridges/Bridges.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ and [`MOI.ConstraintPrimalStart`](@ref) to throw [`MOI.GetAttributeNotAllowed`](
273273
274274
## Example
275275
276-
```jldoctest; filter=r"[0-9.]+s"
276+
```jldoctest; filter=[r"[0-9.]+s", r"\\s+Time"]
277277
julia> MOI.Bridges.runtests(
278278
MOI.Bridges.Constraint.ZeroOneBridge,
279279
model -> MOI.add_constrained_variable(model, MOI.ZeroOne()),
@@ -423,7 +423,7 @@ Run a series of tests that check the correctness of `Bridge`.
423423
424424
## Example
425425
426-
```jldoctest; filter=r"[0-9.]+s"
426+
```jldoctest; filter=[r"[0-9.]+s", r"\\s+Time"]
427427
julia> MOI.Bridges.runtests(
428428
MOI.Bridges.Constraint.ZeroOneBridge,
429429
\"\"\"

0 commit comments

Comments
 (0)