Skip to content

Commit 49e2321

Browse files
Update input_output_handling.jl
1 parent 5dd1471 commit 49e2321

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/input_output_handling.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ using ModelingToolkit: t_nounits as t, D_nounits as D
88
eqs = [D(xx) ~ some_input]
99
@named model = System(eqs, t)
1010
@test_throws ExtraVariablesSystemException mtkcompile(model)
11+
err = "In particular, the unset input(s) are:\n some_input(t)"
12+
@test_throws err mtkcompile(model)
1113

1214
# Test input handling
1315
@variables x(t) u(t) [input = true] v(t)[1:2] [input = true]

0 commit comments

Comments
 (0)