Skip to content

Commit

Permalink
Fix tests for Julia master
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Feb 14, 2024
1 parent 72d23e5 commit 20b1ece
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/Bridges/lazy_bridge_optimizer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -722,9 +722,7 @@ function _test_SDPA_debug(T)
model = StandardSDPAModel{T}()
bridged = MOI.Bridges.LazyBridgeOptimizer(model)
function debug_string(f, args...)
s = IOBuffer()
f(bridged, args...; io = s)
return String(resize!(s.data, s.size))
return sprint(io -> f(bridged, args...; io = io))
end
@testset "LessThan variables" begin
S = MOI.LessThan{T}
Expand Down

0 comments on commit 20b1ece

Please sign in to comment.