diff --git a/test/runtests.jl b/test/runtests.jl index aee1d51..da7c87b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -46,6 +46,7 @@ end @testset "docstring" begin @test docstring(Foo(1,'x')) == "Foo" @test docstring(Fruit.RedApple(4)) == "Main.Fruit.RedApple{Int64}" + @test docstring(sin) = Base.Docs.doc(sin) |> string end @testset "hyperparameter_ranges" begin