Skip to content

Commit fc2a577

Browse files
authored
Merge pull request #219 from control-toolbox/auto-juliaformatter-pr
[AUTO] JuliaFormatter.jl run
2 parents 3c0d6b4 + c41ad62 commit fc2a577

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ext/plot.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ function __initial_plot(
371371
nblines = n + l
372372
h = round(n / nblines; digits=2)
373373
lay = Matrix{Any}(undef, 2, 1)
374-
lay[1, 1] = (label = :a, width = :auto, height = h)
375-
lay[2, 1] = (label = :b, blank = false)
374+
lay[1, 1] = (label=:a, width=:auto, height=h)
375+
lay[2, 1] = (label=:b, blank=false)
376376
root = PlotNode(lay, [node_xp, node_u])
377377
elseif !(node_xp isa EmptyPlot)
378378
root = node_xp
@@ -416,8 +416,8 @@ function __initial_plot(
416416
nblines += nc
417417
h = round(nc / nblines; digits=2)
418418
lay = Matrix{Any}(undef, 2, 1)
419-
lay[1, 1] = (label = :a, blank = false)
420-
lay[2, 1] = (label = :b, width = :auto, height = h)
419+
lay[1, 1] = (label=:a, blank=false)
420+
lay[2, 1] = (label=:b, width=:auto, height=h)
421421
root = PlotNode(lay, [root, node_cocp])
422422
end
423423
end

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ include("solution_example_path_constraints.jl")
4545

4646
@testset verbose = true showtiming = true "CTModels tests" begin
4747
for name in (
48-
:plot,
48+
:plot,
4949
# :export_import,
50-
)
50+
)
5151
@testset "$(name)" begin
5252
test_name = Symbol(:test_, name)
5353
println("testing: ", string(name))

0 commit comments

Comments
 (0)