Skip to content

Commit

Permalink
test var"#"
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilith Hafner authored and Lilith Hafner committed Sep 16, 2023
1 parent dbe7da6 commit d74c2f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ end

module Mod50105
using Compat
@compat public foo, bar, baz
@compat public foo, var"#", baz
@compat public @mac1
@compat public f00, @mac2, @mac3
@compat public @mac4, @mac5
Expand All @@ -739,7 +739,7 @@ end
# foo_50105 = 4 # Uncommenting this line would cause errors due to https://github.com/JuliaLang/julia/issues/51325
@test Base.isexported(@__MODULE__, :foo_50105) === false
VERSION >= v"1.11.0-DEV.469" && @test Base.ispublic(@__MODULE__, :foo_50105)
for sym in [:foo, :bar, :baz, Symbol("@mac1"), :f00, Symbol("@mac2"), Symbol("@mac3"), Symbol("@mac4"), Symbol("@mac5")]
for sym in [:foo, Symbol("#"), :baz, Symbol("@mac1"), :f00, Symbol("@mac2"), Symbol("@mac3"), Symbol("@mac4"), Symbol("@mac5")]
@test Base.isexported(Mod50105, sym) === false
VERSION >= v"1.11.0-DEV.469" && @test Base.ispublic(Mod50105, sym)
end
Expand Down

0 comments on commit d74c2f3

Please sign in to comment.