From 5700dcc0dec6d36e7b0d3c6616d592ba03f26fbb Mon Sep 17 00:00:00 2001 From: Shuhei Kadowaki Date: Fri, 14 Jun 2024 15:53:01 +0900 Subject: [PATCH] adjustments to JuliaLang/julia#54428 --- test/breakpoints.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/breakpoints.jl b/test/breakpoints.jl index 0e55b102..8a03c33e 100644 --- a/test/breakpoints.jl +++ b/test/breakpoints.jl @@ -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) @@ -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)