Skip to content

Commit 60231b8

Browse files
committed
adjustments to JuliaLang/julia#54428
1 parent ea522b8 commit 60231b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/breakpoints.jl

Lines changed: 3 additions & 3 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)
@@ -559,7 +559,7 @@ end
559559
sin(x)
560560
sin(x)
561561
sin(x)
562-
562+
˜
563563
return x
564564
end
565565
""")

0 commit comments

Comments
 (0)