Skip to content

Commit 2236bd0

Browse files
test: JumpProblem indexing test is no longer broken
1 parent 172a6bc commit 2236bd0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/downstream/comprehensive_indexing.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,7 @@ timeseries_systems = [osys, ssys, jsys]
124124
set! = setsym(indp, sym)
125125
@inferred get(valp)
126126
@test get(valp) == val
127-
if valp isa JumpProblem && sym isa Union{Tuple, AbstractArray}
128-
@test_broken valp[sym]
129-
else
130-
@test valp[sym] == val
131-
end
127+
@test valp[sym] == val
132128

133129
if !(valp isa SciMLBase.AbstractNoTimeSolution)
134130
@inferred set!(valp, newval)

0 commit comments

Comments
 (0)