From 76409f894eb9d54bab562e368c7e9220d2e8b719 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 7 Nov 2024 17:00:20 +1300 Subject: [PATCH] Update --- test/test_model.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_model.jl b/test/test_model.jl index dd6fc3e8a38..2f6009acf3f 100644 --- a/test/test_model.jl +++ b/test/test_model.jl @@ -1394,7 +1394,7 @@ struct _ModelNoSolverName <: MOI.AbstractOptimizer end MOI.is_empty(::_ModelNoSolverName) = true function test_solver_name_not_implemented() - model = direct_model(_ModelNoSolverName()) + model = direct_model(_ModelNoSolverName()) @test solver_name(model) == "SolverName() attribute not implemented by the optimizer." return @@ -1407,7 +1407,7 @@ MOI.is_empty(::_ModelSolverNameError) = true MOI.get(::_ModelSolverNameError, ::MOI.SolverName) = error("test") function test_solver_name_error() - model = direct_model(_ModelSolverNameError()) + model = direct_model(_ModelSolverNameError()) @test_throws ErrorException("test") solver_name(model) return end