Skip to content

Commit 8beb0a7

Browse files
committed
test: re-activating unbound arguments of Aqua.jl
We can now re-include this test without the explicit `Vararg` in `get_nonlinobj_op`.
1 parent 9c6a596 commit 8beb0a7

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

‎test/7_test_aqua.jl‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@
33
Aqua.test_ambiguities(ModelPredictiveControl)
44
end
55

6-
### All the functions defined inside `ModelPredictiveControl.get_nonlinobj_op` with the
7-
### `Vararg`s have unbound type parameters. This is necessary for the splatting syntax of
8-
### `JuMP.@operator`, and JuMP will never call these functions with 0 argument, so
9-
### defining zero-argument methods would be useless, so I disable this check here.
10-
# @testitem "Aqua unbound args" begin
11-
# using Aqua
12-
# Aqua.test_unbound_args(ModelPredictiveControl)
13-
# end
6+
@testitem "Aqua unbound args" begin
7+
using Aqua
8+
Aqua.test_unbound_args(ModelPredictiveControl)
9+
end
1410

1511
@testitem "Aqua undefined exports" begin
1612
using Aqua

0 commit comments

Comments
 (0)