Skip to content

Commit

Permalink
adjustments to JuliaLang/julia#54428
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Jun 14, 2024
1 parent ea522b8 commit 5700dcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/breakpoints.jl
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ end
return 2
end
frame = JuliaInterpreter.enter_call(f_macro)
file_logging = "logging.jl"
file_logging = String(only(methods(var"@info")).file)
line_logging = 0
for entry in frame.framecode.src.linetable
if entry.file === Symbol(file_logging)
Expand All @@ -534,7 +534,7 @@ end
@test bp isa BreakpointRef
file, ln = JuliaInterpreter.whereis(frame)
@test ln == line_logging
@test basename(file) == file_logging
@test basename(file) == basename(file_logging)
bp = JuliaInterpreter.finish_stack!(frame)
@test bp isa BreakpointRef
frame = leaf(frame)
Expand Down

0 comments on commit 5700dcc

Please sign in to comment.