Use correctly typed array as default assets

This is just a bandaid.
This commit is contained in:
Chris de Graaf 2019-05-14 15:11:20 -05:00
parent beb169a2c4
commit 310f621c3a
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ function gen_plugin(p::Documenter, t::Template, pkg_name::AbstractString)
s
else
"[]"
"String[]"
end
kwargs_string = if :additional_kwargs in fieldnames(typeof(p)) &&

View File

@ -25,7 +25,7 @@ pkg_dir = joinpath(t.dir, test_pkg)
@test isdir(joinpath(pkg_dir, "docs"))
@test isfile(joinpath(pkg_dir, "docs", "make.jl"))
make = readchomp(joinpath(pkg_dir, "docs", "make.jl"))
@test occursin("assets=[]", make)
@test occursin("assets=String[]", make)
@test !occursin("deploydocs", make)
@test isdir(joinpath(pkg_dir, "docs", "src"))
@test isfile(joinpath(pkg_dir, "docs", "src", "index.md"))

View File

@ -24,7 +24,7 @@ pkg_dir = joinpath(t.dir, test_pkg)
@test isdir(joinpath(pkg_dir, "docs"))
@test isfile(joinpath(pkg_dir, "docs", "make.jl"))
make = readchomp(joinpath(pkg_dir, "docs", "make.jl"))
@test occursin("assets=[]", make)
@test occursin("assets=String[]", make)
@test !occursin("deploydocs", make)
@test isdir(joinpath(pkg_dir, "docs", "src"))
@test isfile(joinpath(pkg_dir, "docs", "src", "index.md"))