From 05ac0d7558ea27d3a7cc2327ebbb790715ee9059 Mon Sep 17 00:00:00 2001 From: odow Date: Mon, 17 Feb 2025 16:02:14 +1300 Subject: [PATCH] Formatting --- test/FileFormats/MOF/MOF.jl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/FileFormats/MOF/MOF.jl b/test/FileFormats/MOF/MOF.jl index 23641c3b6e..1728b26a98 100644 --- a/test/FileFormats/MOF/MOF.jl +++ b/test/FileFormats/MOF/MOF.jl @@ -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 @@ -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