From c8d6ef4f5b98dda973e6bd813db504171ffc2abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Sat, 5 Jan 2019 22:33:05 +0100 Subject: [PATCH] Add comment explaining design --- test/print.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/print.jl b/test/print.jl index 666bb0b4882..c48d033802e 100644 --- a/test/print.jl +++ b/test/print.jl @@ -475,6 +475,8 @@ end # Test printing of models of type `ModelType` for which the model is stored in # its JuMP form, e.g., as `AbstractVariable`s and `AbstractConstraint`s. +# This is used by `JuMPExtension` but can also be used by external packages such +# as `StructJuMP`, see https://github.com/JuliaOpt/JuMP.jl/issues/1711 function model_extension_printing_test(ModelType::Type{<:JuMP.AbstractModel}) @testset "Model" begin repl(s) = JuMP.math_symbol(REPLMode, s)