Skip to content

Commit 5700dcc

Browse files
committed
adjustments to JuliaLang/julia#54428
1 parent ea522b8 commit 5700dcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/breakpoints.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ end
520520
return 2
521521
end
522522
frame = JuliaInterpreter.enter_call(f_macro)
523-
file_logging = "logging.jl"
523+
file_logging = String(only(methods(var"@info")).file)
524524
line_logging = 0
525525
for entry in frame.framecode.src.linetable
526526
if entry.file === Symbol(file_logging)
@@ -534,7 +534,7 @@ end
534534
@test bp isa BreakpointRef
535535
file, ln = JuliaInterpreter.whereis(frame)
536536
@test ln == line_logging
537-
@test basename(file) == file_logging
537+
@test basename(file) == basename(file_logging)
538538
bp = JuliaInterpreter.finish_stack!(frame)
539539
@test bp isa BreakpointRef
540540
frame = leaf(frame)

0 commit comments

Comments
 (0)