Skip to content

Commit

Permalink
Fix a Windows test, maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-dG committed Sep 19, 2019
1 parent dc4f2be commit 284bbd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/template.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function Template(::Val{false}; kwargs...)
plugins = Dict(typeof(p) => p for p in enabled)

# TODO: It might be nice to offer some kind of warn_incompatible function
# to be optionally implented by plugins instead of hardcoding this case here.
# to be optionally implemented by plugins instead of hardcoding this case here.
julia = getkw(kwargs, :julia_version)
julia < v"1.2" && haskey(plugins, Tests) && plugins[Tests].project && @warn string(
"The Tests plugin is set to create a project (supported in Julia 1.2 and later)",
Expand Down
6 changes: 3 additions & 3 deletions test/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ const LICENSE_DIR = contractuser(PT.LICENSE_DIR)
ds_store: true
dev: true
License:
path: "$LICENSE_DIR/MIT"
path: "$(joinpath(LICENSE_DIR, "MIT"))"
destination: "LICENSE"
Readme:
file: "$DEFAULTS_DIR/README.md"
file: "$(joinpath(DEFAULTS_DIR, "README.md"))"
destination: "README.md"
inline_badges: false
Tests:
file: "$DEFAULTS_DIR/runtests.jl"
file: "$(joinpath(DEFAULTS_DIR, "runtests.jl"))"
project: false
"""
@test sprint(show, MIME("text/plain"), tpl(; authors=USER)) == rstrip(expected)
Expand Down

0 comments on commit 284bbd5

Please sign in to comment.