You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/network_analysis/conservation_laws.jl
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -270,21 +270,21 @@ let
270
270
# Check warnings in system conversion.
271
271
for XSystem in [ODESystem, SDESystem, NonlinearSystem]
272
272
@test_nowarnconvert(XSystem, rn)
273
-
@test_logs (:warn, r"You are creating a system while eliminating conserved quantities. While *") convert(XSystem, rn; remove_conserved =true)
273
+
@test_logs (:warn, r"You are creating a system or problem while eliminating conserved quantities. Please *") convert(XSystem, rn; remove_conserved =true)
# Checks during problem creation (separate depending on whether they have a time span or not).
279
279
for XProblem in [ODEProblem, SDEProblem]
280
280
@test_nowarnXProblem(rn, u0, tspan, ps)
281
-
@test_logs (:warn, r"You are creating a system while eliminating conserved quantities. While *") XProblem(rn, u0, tspan, ps; remove_conserved =true)
281
+
@test_logs (:warn, r"You are creating a system or problem while eliminating conserved quantities. Please *") XProblem(rn, u0, tspan, ps; remove_conserved =true)
for XProblem in [NonlinearProblem, SteadyStateProblem]
286
286
@test_nowarnXProblem(rn, u0, ps)
287
-
@test_logs (:warn, r"You are creating a system while eliminating conserved quantities. While *") XProblem(rn, u0, ps; remove_conserved =true)
287
+
@test_logs (:warn, r"You are creating a system or problem while eliminating conserved quantities. Please *") XProblem(rn, u0, ps; remove_conserved =true)
0 commit comments