Skip to content

Commit b435be4

Browse files
authored
Comment wrapper function
1 parent be88aa8 commit b435be4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/deprecated.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ struct Foo
44
b::Int
55
c::Any
66
end
7+
8+
# to avoid deprecation spam (and actually test deprecations) we will define a wrapper `rand_tangent` function for testing
79
rand_tangent(args...) = @test_deprecated FiniteDifferences.rand_tangent(args...)
810

911
@testset "rand_tangent" begin

0 commit comments

Comments
 (0)