Skip to content

Commit 05ac0d7

Browse files
committed
Formatting
1 parent a39fc6e commit 05ac0d7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/FileFormats/MOF/MOF.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,6 @@ function test_nonlinear_variable_complex_nodes()
15181518
return
15191519
end
15201520

1521-
15221521
function test_mof_scalaraffinefunction()
15231522
x = MOI.VariableIndex(1)
15241523
f = 1.0 * x + 2.0
@@ -1564,9 +1563,7 @@ function test_nonlinear_expression_not_call()
15641563
con = MOI.add_constraint(model, MOF.Nonlinear(expr), MOI.EqualTo(1.0))
15651564
io = IOBuffer()
15661565
@test_throws(
1567-
ErrorException(
1568-
"Expected an expression that was a function. Got $expr",
1569-
),
1566+
ErrorException("Expected an expression that was a function. Got $expr"),
15701567
write(io, model),
15711568
)
15721569
return

0 commit comments

Comments
 (0)