diff --git a/Project.toml b/Project.toml index c872ac9..d263a4f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "DataGraphs" uuid = "b5a273c3-7e6c-41f6-98bd-8d7f1525a36a" authors = ["Matthew Fishman and contributors"] -version = "0.2.6" +version = "0.2.7" [deps] Dictionaries = "85a47980-9c8c-11e8-2b9f-f7ca1fa99fb4" diff --git a/test/runtests.jl b/test/runtests.jl index 1c52c3e..98b2d2b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -14,11 +14,13 @@ const GROUP = uppercase( ) "match files of the form `test_*.jl`, but exclude `*setup*.jl`" -istestfile(fn) = - endswith(fn, ".jl") && startswith(basename(fn), "test_") && !contains(fn, "setup") +function istestfile(fn) + return endswith(fn, ".jl") && startswith(basename(fn), "test_") && !contains(fn, "setup") +end "match files of the form `*.jl`, but exclude `*_notest.jl` and `*setup*.jl`" -isexamplefile(fn) = - endswith(fn, ".jl") && !endswith(fn, "_notest.jl") && !contains(fn, "setup") +function isexamplefile(fn) + return endswith(fn, ".jl") && !endswith(fn, "_notest.jl") && !contains(fn, "setup") +end @time begin # tests in groups based on folder structure