Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Sep 18, 2023
1 parent 9cc7132 commit 2575dd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Test/Test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import LinearAlgebra
import MathOptInterface as MOI
import MathOptInterface.Utilities as MOIU

"""
#=
We made a bit of a mistake calling the `Test/Test.jl` submodule "Test" because
it conflicts with the standard library "Test" which is imported by MOI.Test.
Expand All @@ -30,7 +30,7 @@ Test."
The work-around is to wrap `Test` in a module so that `MOI.Test.Test` is
`MOI.Test`.
"""
=#
module _BaseTest
using Test
end
Expand Down
5 changes: 1 addition & 4 deletions src/Test/test_nonlinear.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1544,10 +1544,7 @@ end
Tests dual solutions with `ScalarNonlinearFunction`. We use a linear program
so that the duals are easy to compute.
"""
function test_nonlinear_duals(
model::MOI.ModelLike,
config::Config{T},
) where {T}
function test_nonlinear_duals(model::MOI.ModelLike, config::Config{T}) where {T}

Check warning on line 1547 in src/Test/test_nonlinear.jl

View check run for this annotation

Codecov / codecov/patch

src/Test/test_nonlinear.jl#L1547

Added line #L1547 was not covered by tests
@requires T == Float64
@requires _supports(config, MOI.optimize!)
@requires _supports(config, MOI.ConstraintDual)
Expand Down

0 comments on commit 2575dd2

Please sign in to comment.