Make the license tests pass next year, too

This commit is contained in:
Chris de Graaf 2019-10-04 14:42:32 +07:00
parent 441eee3219
commit de22378975
No known key found for this signature in database
GPG Key ID: 150FFDD9B0073C7B

View File

@ -1,8 +1,7 @@
const STATIC_FILE = joinpath(@__DIR__, "fixtures", "static.txt")
function PT.user_view(::Citation, ::Template, ::AbstractString)
return Dict("MONTH" => 8, "YEAR" => 2019)
end
PT.user_view(::Citation, ::Template, ::AbstractString) = Dict("MONTH" => 8, "YEAR" => 2019)
PT.user_view(::License, ::Template, ::AbstractString) = Dict("YEAR" => 2019)
function test_all(pkg::AbstractString; kwargs...)
t = tpl(; kwargs...)