Skip to content

Commit 8a304b3

Browse files
test: update tests
1 parent 828bcdb commit 8a304b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/components.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ end
4242
completed_rc_model = complete(rc_model)
4343
@test isequal(completed_rc_model.resistor.n.i, resistor.n.i)
4444
@test ModelingToolkit.n_expanded_connection_equations(capacitor) == 2
45-
@test length(equations(structural_simplify(rc_model, allow_parameter = false))) == 2
45+
@test length(equations(structural_simplify(
46+
rc_model, allow_algebraic = false, allow_parameter = false))) == 2
4647
sys = structural_simplify(rc_model)
4748
@test_throws ModelingToolkit.RepeatedStructuralSimplificationError structural_simplify(sys)
4849
@test length(equations(sys)) == 1

0 commit comments

Comments
 (0)