We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
relpath
1 parent e14ab4c commit da77644Copy full SHA for da77644
test/internals.jl
@@ -395,7 +395,7 @@ end
395
@test nestedrelpath(path, "test/dir/other") == "test/dir/foo_test.jl"
396
@test nestedrelpath(path, "test/dir/other/bar_test.jl") == "test/dir/foo_test.jl"
397
398
- if isdefined(Base, Symbol("@allocations")) # added in Julia v1.9
+ @static if isdefined(Base, Symbol("@allocations")) # added in Julia v1.9
399
@test 2 >= @allocations(nestedrelpath(path, "test"))
400
@test 2 >= @allocations(nestedrelpath(path, "test/dir"))
401
@test 1 >= @allocations(nestedrelpath(path, "test/dir/foo_test.jl"))
0 commit comments