Skip to content

Commit 45eb7c2

Browse files
committed
sigs => mt_sigs renaming
1 parent 821b1b4 commit 45eb7c2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/runtests.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ end
297297
@testset "With Revise" begin
298298
if isdefined(Main, :Revise)
299299
m = @which gcd(10, 20)
300-
sigs = signatures_at(Base.find_source_file(String(m.file)), m.line)
301-
@test !isempty(sigs)
300+
mt_sigs = signatures_at(Base.find_source_file(String(m.file)), m.line)
301+
@test !isempty(mt_sigs)
302302
ex = @code_expr(gcd(10, 20))
303303
@test ex isa Expr
304304
body = ex.args[2]
@@ -308,10 +308,10 @@ end
308308

309309
if Base.VERSION < v"1.11.0-0"
310310
m = first(methods(edit))
311-
sigs = signatures_at(String(m.file), m.line)
312-
@test !isempty(sigs)
313-
sigs = signatures_at(Base.find_source_file(String(m.file)), m.line)
314-
@test !isempty(sigs)
311+
mt_sigs = signatures_at(String(m.file), m.line)
312+
@test !isempty(mt_sigs)
313+
mt_sigs = signatures_at(Base.find_source_file(String(m.file)), m.line)
314+
@test !isempty(mt_sigs)
315315
end
316316

317317
# issue #23
@@ -321,9 +321,9 @@ end
321321

322322
if isdefined(Revise, :add_revise_deps)
323323
Revise.add_revise_deps()
324-
sigs = signatures_at(CodeTracking, "src/utils.jl", 5)
325-
@test length(sigs) == 1 # only isn't available on julia 1.0
326-
(mt, sig) = first(sigs)
324+
mt_sigs = signatures_at(CodeTracking, "src/utils.jl", 5)
325+
@test length(mt_sigs) == 1 # only isn't available on julia 1.0
326+
(mt, sig) = first(mt_sigs)
327327
@test sig == Tuple{typeof(CodeTracking.checkname), Expr, Any}
328328
@test pkgfiles(CodeTracking).id == Base.PkgId(CodeTracking)
329329
end

0 commit comments

Comments
 (0)