From aea87c289aebb617136047291f85479888902dca Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Tue, 12 Nov 2024 17:18:58 +1300 Subject: [PATCH] Update test/test_macros.jl --- test/test_macros.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_macros.jl b/test/test_macros.jl index 36ea692a4b4..91315d52399 100644 --- a/test/test_macros.jl +++ b/test/test_macros.jl @@ -2563,7 +2563,7 @@ function test_subexpression_kwarg_dict_element() @variable(model, x[i in 1:2]) @test_throws_runtime( ErrorException( - "In `@expression(model, ex, Dict((i => x[i] for i = 1:2)), subexpression = true)`: Unable to build a subexpression for the type Dict{Int64, VariableRef}", + "In `@expression(model, ex, Dict((i => x[i] for i = 1:2)), subexpression = true)`: Unable to build a subexpression for the type $(Dict{Int,VariableRef})", ), @expression( model,