Skip to content

Commit acab995

Browse files
authored
[Test] allow skipping ScalarFunctionConstantNotZero errors (#2325)
1 parent 3e34d4c commit acab995

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Test/Test.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,12 @@ macro requires(x)
309309
end
310310

311311
function _error_handler(
312-
err::Union{MOI.NotAllowedError,MOI.UnsupportedError,RequirementUnmet},
312+
err::Union{
313+
MOI.NotAllowedError,
314+
MOI.ScalarFunctionConstantNotZero,
315+
MOI.UnsupportedError,
316+
RequirementUnmet,
317+
},
313318
name::String,
314319
warn_unsupported::Bool,
315320
)

0 commit comments

Comments
 (0)