Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Feb 17, 2025
1 parent a39fc6e commit 05ac0d7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/FileFormats/MOF/MOF.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,6 @@ function test_nonlinear_variable_complex_nodes()
return
end


function test_mof_scalaraffinefunction()
x = MOI.VariableIndex(1)
f = 1.0 * x + 2.0
Expand Down Expand Up @@ -1564,9 +1563,7 @@ function test_nonlinear_expression_not_call()
con = MOI.add_constraint(model, MOF.Nonlinear(expr), MOI.EqualTo(1.0))
io = IOBuffer()
@test_throws(
ErrorException(
"Expected an expression that was a function. Got $expr",
),
ErrorException("Expected an expression that was a function. Got $expr"),
write(io, model),
)
return
Expand Down

0 comments on commit 05ac0d7

Please sign in to comment.