Skip to content

Commit 1441448

Browse files
test: remove outdated causal connection validation
1 parent 0a5dfee commit 1441448

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/causal_variables_connection.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,7 @@ using ModelingToolkit: t_nounits as t, D_nounits as D
2525

2626
@test_throws ["same size"] connect(xarr, yarr)
2727

28-
@test_throws ["Expected", "x", "output = true", "metadata"] connect(x, y)
29-
@test_throws ["Expected", "y", "output = true", "metadata"] connect(y, v)
30-
31-
@test_throws ["Expected", "x", "input = true", "metadata"] connect(z, x)
32-
@test_throws ["Expected", "x", "input = true", "metadata"] connect(z, y, x)
33-
@test_throws ["Expected", "u", "input = true", "metadata"] connect(z, u)
34-
@test_throws ["Expected", "u", "input = true", "metadata"] connect(z, y, u)
28+
@test_throws ArgumentError connect(x, y)
3529
end
3630

3731
@testset "Connection expansion" begin

0 commit comments

Comments
 (0)