Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsipher committed Aug 14, 2024
1 parent 942c5c3 commit 94f2435
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/TranscriptionOpt/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ end
# test JuMP.show_backend_summary
@testset "JuMP.show_backend_summary" begin
expected = " Backend type: TranscriptionBackend\n `t` transcribed over 4 supports\n " *
"`x` transcribed over 5 supports\n Solver: none.\n"
"`x` transcribed over 5 supports\n Solver: none\n"
@test sprint(show_backend_summary, m, tb) == expected
set_optimizer(tb.model, () -> MOIU.MockOptimizer(MOIU.Model{Float64}()))
expected = " Backend type: TranscriptionBackend\n `t` transcribed over 4 supports\n " *
"`x` transcribed over 5 supports\n Solver: Mock.\n"
"`x` transcribed over 5 supports\n Solver: Mock\n"
@test sprint(show_backend_summary, m, tb) == expected
set_optimizer(tb.model, () -> MOIU.Model{Float64}())
expected = " Backend type: TranscriptionBackend\n `t` transcribed over 4 supports\n " *
"`x` transcribed over 5 supports\n Solver: unknown.\n"
"`x` transcribed over 5 supports\n Solver: unknown\n"
@test sprint(show_backend_summary, m, tb) == expected
end
# test show
Expand Down

0 comments on commit 94f2435

Please sign in to comment.