From 7103f12365f8330b3f06ea6c6eb42476f3a241c2 Mon Sep 17 00:00:00 2001 From: odow Date: Thu, 13 Jun 2024 11:40:05 +1200 Subject: [PATCH] Fix test for upcoming printing change in MOI --- test/test_model.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), )