Skip to content

Commit e71fddd

Browse files
committed
Fix test
1 parent 53397ae commit e71fddd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/reduction.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ connected = ODESystem([s ~ a + lorenz1.x
7676
lorenz2.F ~ lorenz1.u], t, systems=[lorenz1, lorenz2])
7777
@test length(Base.propertynames(connected)) == 10
7878
@test isequal((@nonamespace connected.lorenz1.x), x)
79-
@test isequal(connected.lorenz1.x, x)
79+
__x = x
80+
@unpack lorenz1 = connected
81+
@unpack x = lorenz1
82+
@test isequal(x, __x)
8083

8184
# Reduced Flattened System
8285

0 commit comments

Comments
 (0)