Skip to content

Commit cea9d83

Browse files
committed
Fix tests
1 parent a055cb3 commit cea9d83

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/stream_connectors.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,10 @@ end
202202

203203
@named simple = ODESystem([connect(vp1, vp2, vp3)], t)
204204
sys = expand_connections(compose(simple, [vp1, vp2, vp3]))
205-
@test sort(equations(sys), by = string) == sort([vp1.v[1] ~ vp2.v[1]
205+
@test sort(equations(sys), by = string) == sort([0 .~ collect(vp1.i)
206+
0 .~ collect(vp2.i)
207+
0 .~ collect(vp3.i)
208+
vp1.v[1] ~ vp2.v[1]
206209
vp1.v[2] ~ vp2.v[2]
207210
vp1.v[1] ~ vp3.v[1]
208211
vp1.v[2] ~ vp3.v[2]

0 commit comments

Comments
 (0)