@@ -218,6 +218,9 @@ function test_no_names()
218218 ModelAnalyzer. summarize (buf, ret[1 ], verbose = true , model = model)
219219 str = String (take! (buf))
220220 @test startswith (str, " Variable: " )
221+ ModelAnalyzer. summarize (buf, ret[1 ], verbose = true , model = JuMP. backend (model))
222+ str = String (take! (buf))
223+ @test startswith (str, " Variable: " )
221224 ModelAnalyzer. summarize (buf, ret[1 ], verbose = false , model = model)
222225 str = String (take! (buf))
223226 #
@@ -237,6 +240,9 @@ function test_no_names()
237240 ModelAnalyzer. summarize (buf, ret[1 ], verbose = true , model = model)
238241 str = String (take! (buf))
239242 @test startswith (str, " Constraint: " )
243+ ModelAnalyzer. summarize (buf, ret[1 ], verbose = true , model = JuMP. backend (model))
244+ str = String (take! (buf))
245+ @test startswith (str, " Constraint: " )
240246 ModelAnalyzer. summarize (buf, ret[1 ], verbose = false , model = model)
241247 str = String (take! (buf))
242248 return
@@ -268,6 +274,9 @@ function test_variable_not_in_constraints()
268274 ModelAnalyzer. summarize (buf, ret[1 ], verbose = true , model = model)
269275 str = String (take! (buf))
270276 @test startswith (str, " Variable: " )
277+ ModelAnalyzer. summarize (buf, ret[1 ], verbose = true , model = JuMP. backend (model))
278+ str = String (take! (buf))
279+ @test startswith (str, " Variable: " )
271280 ModelAnalyzer. summarize (buf, ret[1 ], verbose = false , model = model)
272281 str = String (take! (buf))
273282 return
@@ -310,6 +319,9 @@ function test_empty_constraint_model()
310319 ModelAnalyzer. summarize (buf, ret[1 ], verbose = true , model = model)
311320 str = String (take! (buf))
312321 @test startswith (str, " Constraint: " )
322+ ModelAnalyzer. summarize (buf, ret[1 ], verbose = true , model = JuMP. backend (model))
323+ str = String (take! (buf))
324+ @test startswith (str, " Constraint: " )
313325 ModelAnalyzer. summarize (buf, ret[1 ], verbose = false , model = model)
314326 str = String (take! (buf))
315327 return
0 commit comments