Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Nov 6, 2023
1 parent a5eba4c commit 4da9c64
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/project_extras.jl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ function _analyze_project_extras(pkg::PkgId)
)
else
msg = sprint() do io
println(io, "Root and test projects should be consistent for projects supporting Julia <= 1.1.")
println(
io,
"Root and test projects should be consistent for projects supporting Julia <= 1.1.",
)
if !isempty(not_in_extras)
println(io, "Test dependencies not in root project ($root_project_path):")
for (name, uuid) in sort!(collect(not_in_extras))
Expand Down
5 changes: 4 additions & 1 deletion test/test_project_extras.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ with_sample_pkgs() do
@test !ispass(r)
@test r false
msg = sprint(show, "text/plain", r)
@test occursin("Root and test projects should be consistent for projects supporting Julia <= 1.1.", msg)
@test occursin(
"Root and test projects should be consistent for projects supporting Julia <= 1.1.",
msg,
)
@test occursin("Test dependencies not in root project", msg)
@test occursin("Dependencies not in test project", msg)
@test occursin("Random =", msg)
Expand Down

0 comments on commit 4da9c64

Please sign in to comment.