Skip to content

Commit 586c506

Browse files
authored
Update test/FileFormats/MOF/MOF.jl
1 parent 6824c18 commit 586c506

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/FileFormats/MOF/MOF.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,9 @@ function test_nonlinear_expression_not_call()
15631563
con = MOI.add_constraint(model, MOF.Nonlinear(expr), MOI.EqualTo(1.0))
15641564
io = IOBuffer()
15651565
@test_throws(
1566-
ErrorException("Expected an expression that was a function. Got $expr."),
1566+
ErrorException(
1567+
"Expected an expression that was a function. Got $expr.",
1568+
),
15671569
write(io, model),
15681570
)
15691571
return

0 commit comments

Comments
 (0)