Skip to content

[docs] filter varying width Time column in doctest #2748

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 8, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/submodules/Bridges/implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
"""
Expand Down Expand Up @@ -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,
"""
Expand Down
4 changes: 2 additions & 2 deletions src/Bridges/Bridges.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down Expand Up @@ -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,
\"\"\"
Expand Down
Loading