File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -214,13 +214,16 @@ end
214214 # Make sure that on Julia versions that support the `public` keyword,
215215 # we are also marking the right symbols as public.
216216 if Base. isdefined (Base, :ispublic )
217- @testset " ispublic" begin
218- for name in public_symbols
219- @test Base. ispublic (JuliaHub, name)
220- end
221- for name in setdiff (names (JuliaHub; all= true ), public_symbols)
222- @test ! Base. ispublic (JuliaHub, name)
223- end
217+ @testset " ispublic: $(name) " for name in public_symbols
218+ @test Base. ispublic (JuliaHub, name)
219+ end
220+ private_names = setdiff (
221+ names (JuliaHub; all= true ),
222+ public_symbols,
223+ [:JuliaHub ],
224+ )
225+ @testset " !ispublic: $(name) " for name in private_names
226+ @test ! Base. ispublic (JuliaHub, name)
224227 end
225228 end
226229 end
You can’t perform that action at this time.
0 commit comments