diff --git a/test/test_model.jl b/test/test_model.jl index c9134eab2ad..3f568250743 100644 --- a/test/test_model.jl +++ b/test/test_model.jl @@ -1237,7 +1237,7 @@ function test_caching_mps_model() ErrorException( "Cannot call `optimize!` because the provided optimizer is not " * "a subtype of `MOI.AbstractOptimizer`.\n\nThe optimizer is:\n\n" * - "A Mathematical Programming System (MPS) model\n", + "$(sprint(show, unsafe_backend(model)))\n", ), optimize!(model), )