Skip to content

Commit 52f3519

Browse files
committed
Fix tests 2
1 parent ea8d14a commit 52f3519

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/ui_test.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ eqc1 = geteqconstraint(mech, "jointb1")
2020
eqc2 = geteqconstraint(mech, "joint12")
2121
@test body1 === mech.bodies[1]
2222
@test body2 === mech.bodies[2]
23-
@test eqc1 === mech.eqconstraints[1]
24-
@test eqc2 === mech.eqconstraints[2]
23+
@test eqc1 === mech.eqconstraints[3]
24+
@test eqc2 === mech.eqconstraints[4]
2525

2626
body1 = getcomponent(mech, "body1")
2727
body2 = getcomponent(mech, "body2")
2828
eqc1 = getcomponent(mech, "jointb1")
2929
eqc2 = getcomponent(mech, "joint12")
3030
@test body1 === mech.bodies[1]
3131
@test body2 === mech.bodies[2]
32-
@test eqc1 === mech.eqconstraints[1]
33-
@test eqc2 === mech.eqconstraints[2]
32+
@test eqc1 === mech.eqconstraints[3]
33+
@test eqc2 === mech.eqconstraints[4]

0 commit comments

Comments
 (0)