Skip to content

Commit 6fbaff4

Browse files
authored
Update dsl_options.jl
1 parent 734756d commit 6fbaff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/dsl/dsl_options.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,12 +1284,12 @@ let
12841284
# Test error when a variable in an equation is inferred
12851285
@test_throws UndeclaredSymbolicError @macroexpand @reaction_network begin
12861286
@require_declaration
1287-
@equations D(V) ~ V^2
1287+
@equations V ~ V^2 + 2
12881288
end
12891289
@test_nowarn @macroexpand @reaction_network begin
12901290
@require_declaration
12911291
@variables V(t)
1292-
@equations D(V) ~ V^2
1292+
@equations V ~ V^2 + 2
12931293
end
12941294

12951295
# Test error when a variable in an observable is inferred

0 commit comments

Comments
 (0)