Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
vyudu committed Sep 4, 2024
1 parent 455508e commit ae1a631
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/reactionsystem_core/coupled_equation_crn_systems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -943,10 +943,11 @@ let
end

# Several equations without `begin ... end` block.
@test_throws Exception @eval @reaction_network begin
@variables V(t)
@equations D(V) + 1 ~ - 1.0
end
# This should work now.
# @test_throws Exception @eval @reaction_network begin
# @variables V(t)
# @equations D(V) + 1 ~ - 1.0
# end

# Undeclared differential.
@test_throws Exception @eval @reaction_network begin
Expand Down

0 comments on commit ae1a631

Please sign in to comment.