Skip to content

Commit

Permalink
Remove Main from curmod prefixes in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Seelengrab committed May 3, 2024
1 parent 190e101 commit 5ed6464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testenv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ if !@isdefined(testenv_defined)

const curmod = @__MODULE__
const curmod_name = fullname(curmod)
const curmod_str = curmod === Main ? "Main" : join(curmod_name, ".")
const curmod_prefix = curmod === Main ? "" : "$(["$m." for m in curmod_name]...)"
const curmod_str = curmod === Main ? "Main" : join(curmod_name[2:end], ".")
const curmod_prefix = curmod === Main ? "" : "$(["$m." for m in curmod_name[2:end]]...)"

# platforms that support cfunction with closures
# (requires LLVM back-end support for trampoline intrinsics)
Expand Down

0 comments on commit 5ed6464

Please sign in to comment.