diff --git a/templates/test/test/runtests.jl b/templates/test/test/runtests.jl index a058468..bd97441 100644 --- a/templates/test/test/runtests.jl +++ b/templates/test/test/runtests.jl @@ -43,7 +43,7 @@ isexamplefile(fn) = # test examples examplepath = joinpath(@__DIR__, "..", "examples") for (root, _, files) in walkdir(examplepath) - contains(root, "setup") && continue + contains(chopprefix(root, @__DIR__), "setup") && continue for file in filter(isexamplefile, files) filename = joinpath(root, file) @eval begin