diff --git a/test/FlatZinc/model.jl b/test/FlatZinc/model.jl index 742a7622..41bfe00a 100644 --- a/test/FlatZinc/model.jl +++ b/test/FlatZinc/model.jl @@ -7,6 +7,10 @@ @testset "Supported constraints" begin m = CP.FlatZinc.Model() + @test MOI.supports( + m, + MOI.ObjectiveFunction{MOI.VariableIndex}, + ) @test MOI.supports_constraint( m, MOI.VariableIndex, @@ -105,4 +109,4 @@ @test MOI.supports_add_constrained_variable(m, S) @test MOI.supports_add_constrained_variables(m, S) end -end \ No newline at end of file +end