Skip to content

Commit 1bf6e81

Browse files
committed
Fix tests
1 parent e4894e3 commit 1bf6e81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/JuMP_wrapper.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ function test_container()
4242
@test con_it_expr isa ExprGenerator
4343
con_expr = con_it_expr.expr.expr
4444
@test sprint(show, con_ref) ==
45-
"$ParametrizedArray(((x + getindex($IteratorIndex(1), 2.0)) - getindex($IteratorIndex(1), 3.0)) - 0.0, Iterator{Tuple{Symbol, Int64, Real}}(Tuple{Symbol, Int64, Real}[(:a, -1, π), (:b, 1, 0.0)]) ∈ MathOptInterface.Nonnegatives(2), IteratorValues[iterator([:a, :b])])"
45+
"$ParametrizedArray(((x + getindex($IteratorIndex(1), 2.0)) - getindex($IteratorIndex(1), 3.0)) - 0.0, $Iterator{Tuple{Symbol, Int64, Real}}(Tuple{Symbol, Int64, Real}[(:a, -1, π), (:b, 1, 0.0)]) ∈ MathOptInterface.Nonnegatives(2), $IteratorValues[iterator([:a, :b])])"
4646
@test sprint(show, MIME"text/latex"(), con_ref) ==
47-
"$ParametrizedArray(((x + getindex($IteratorIndex(1), 2.0)) - getindex($IteratorIndex(1), 3.0)) - 0.0, Iterator{Tuple{Symbol, Int64, Real}}(Tuple{Symbol, Int64, Real}[(:a, -1, π), (:b, 1, 0.0)]) ∈ MathOptInterface.Nonnegatives(2), IteratorValues[iterator([:a, :b])])"
47+
"$ParametrizedArray(((x + getindex($IteratorIndex(1), 2.0)) - getindex($IteratorIndex(1), 3.0)) - 0.0, $Iterator{Tuple{Symbol, Int64, Real}}(Tuple{Symbol, Int64, Real}[(:a, -1, π), (:b, 1, 0.0)]) ∈ MathOptInterface.Nonnegatives(2), $IteratorValues[iterator([:a, :b])])"
4848
@test sprint(show, con_expr) ==
4949
"((x + getindex($IteratorIndex(1), 2.0)) - getindex($IteratorIndex(1), 3.0)) - 0.0"
5050
@test sprint(show, MIME"text/latex"(), con_expr) ==

0 commit comments

Comments
 (0)