diff --git a/src/Test/Test.jl b/src/Test/Test.jl index db45ed653a..fe7d454a0f 100644 --- a/src/Test/Test.jl +++ b/src/Test/Test.jl @@ -309,7 +309,12 @@ macro requires(x) end function _error_handler( - err::Union{MOI.NotAllowedError,MOI.UnsupportedError,RequirementUnmet}, + err::Union{ + MOI.NotAllowedError, + MOI.ScalarFunctionConstantNotZero, + MOI.UnsupportedError, + RequirementUnmet, + }, name::String, warn_unsupported::Bool, )