From 8beb0a76b20c7190606da28b6ef6835690e5643d Mon Sep 17 00:00:00 2001 From: franckgaga Date: Wed, 11 Nov 2026 13:48:11 -0500 Subject: [PATCH] test: re-activating unbound arguments of `Aqua.jl` We can now re-include this test without the explicit `Vararg` in `get_nonlinobj_op`. --- test/7_test_aqua.jl | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/test/7_test_aqua.jl b/test/7_test_aqua.jl index fb907c80b..2dec12217 100644 --- a/test/7_test_aqua.jl +++ b/test/7_test_aqua.jl @@ -3,14 +3,10 @@ Aqua.test_ambiguities(ModelPredictiveControl) end -### All the functions defined inside `ModelPredictiveControl.get_nonlinobj_op` with the -### `Vararg`s have unbound type parameters. This is necessary for the splatting syntax of -### `JuMP.@operator`, and JuMP will never call these functions with 0 argument, so -### defining zero-argument methods would be useless, so I disable this check here. -# @testitem "Aqua unbound args" begin -# using Aqua -# Aqua.test_unbound_args(ModelPredictiveControl) -# end +@testitem "Aqua unbound args" begin + using Aqua + Aqua.test_unbound_args(ModelPredictiveControl) +end @testitem "Aqua undefined exports" begin using Aqua