Skip to content

Commit 9fb4759

Browse files
committed
fix test
1 parent cfad638 commit 9fb4759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/reactionsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ rxs = [Reaction(k[1], nothing, [A]), # 0 -> A
2525
Reaction(k[20]*t*A, [B,C], [D],[2,1],[2]) # 2A +B -> 2C with non constant rate.
2626
]
2727
rs = ReactionSystem(rxs,t,[A,B,C,D],k)
28-
str = String(take!(io))
2928
odesys = convert(ODESystem,rs)
3029
sdesys = convert(SDESystem,rs)
3130

3231
# test show
3332
io = IOBuffer()
3433
show(io, rs)
34+
str = String(take!(io))
3535
@test count(isequal('\n'), str) < 30
3636

3737
# hard coded ODE rhs

0 commit comments

Comments
 (0)