Skip to content

Commit

Permalink
use the LINE macro not manual
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Aug 10, 2024
1 parent a8f8dab commit 54562b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function _testset_implementations_inner(title, modules::Union{Expr,Vector}, code
testset = Expr(
:macrocall,
Symbol("@testset"),
LineNumberNode(95, @__FILE__),
LineNumberNode(@__LINE__, @__FILE__),
Expr(:string, mod, " ", title),
code1
)
Expand Down

0 comments on commit 54562b6

Please sign in to comment.