Skip to content

Commit af1a143

Browse files
committed
another test
1 parent 54b00fd commit af1a143

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/dsl/dsl_options.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,4 +622,12 @@ let
622622
@observables X ~ X1 + X2
623623
k, 0 --> X1
624624
end
625+
626+
# Interpolation and explicit declaration of an observable.
627+
@variables t X(t)
628+
@test_throws Exception @eval @reaction_network begin
629+
@variables X(t)
630+
@observables $X ~ X1 + X2
631+
(k1,k2), X1 <--> X2
632+
end
625633
end

0 commit comments

Comments
 (0)