Fix doctests in runtests.jl

This commit is contained in:
janEbert 2020-04-05 13:58:27 +02:00
parent 8d2d15aa70
commit 2a65a30399
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ Random.seed!(0)
@testset "Docs" begin @testset "Docs" begin
if VERSION >= v"1.2" if VERSION >= v"1.2"
DocMeta.setdocmeta!(Flux, :DocTestSetup, :(using Flux); recursive=true)
doctest(Flux) doctest(Flux)
end end
end end