Skip to content

Commit a461d04

Browse files
test: update test to account for new ParameterIndex
1 parent 7b6ce1e commit a461d04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/symbolic_indexing_interface.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ using SciMLStructures: Tunable
1717
@test all(is_parameter.((odesys,), [a, b, ParameterIndex(Tunable(), 1), :a, :b]))
1818
@test all(.!is_parameter.((odesys,), [x, y, t, 3, 0, :x, :y]))
1919
@test parameter_index(odesys, a) == parameter_index(odesys, :a)
20-
@test parameter_index(odesys, a) isa ParameterIndex{Tunable, Int}
20+
@test parameter_index(odesys, a) isa ParameterIndex{Tunable, A, Int} where {A}
2121
@test parameter_index(odesys, b) == parameter_index(odesys, :b)
22-
@test parameter_index(odesys, b) isa ParameterIndex{Tunable, Int}
22+
@test parameter_index(odesys, b) isa ParameterIndex{Tunable, A, Int} where {A}
2323
@test parameter_index.(
2424
(odesys,), [x, y, t, ParameterIndex(Tunable(), 1), :x, :y]) ==
2525
[nothing, nothing, nothing, ParameterIndex(Tunable(), 1), nothing, nothing]

0 commit comments

Comments
 (0)