Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Feb 5, 2024
1 parent 533f478 commit 661dc0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/optimizer_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ function optimize!(
error(
"Cannot call `optimize!` because the provided optimizer is not " *
"a subtype of `MOI.AbstractOptimizer`.\n\nThe optimizer is:\n\n" *
sprint(show, optimizer) * "\n",
sprint(show, optimizer) *
"\n",
)
end
try
Expand Down
2 changes: 1 addition & 1 deletion test/test_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ function test_direct_mps_model()
seekstart(io)
data = String(take!(io))
@test startswith(data, "NAME")
@test endswith(data, "ENDATA")
@test endswith(data, "ENDATA\n")
return
end

Expand Down

0 comments on commit 661dc0a

Please sign in to comment.