From 993077226e61c2b63362318920a9b51a25761f7b Mon Sep 17 00:00:00 2001 From: Justin Willmert Date: Thu, 12 Jul 2018 14:39:28 -0500 Subject: [PATCH] Switch from JSON to Colors package The tests need to load a package which itself has non-stdlib packages as sub-dependencies for this to trigger load errors. --- test/REQUIRE | 2 +- test/runtests.jl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/REQUIRE b/test/REQUIRE index 732835a..303e7ea 100644 --- a/test/REQUIRE +++ b/test/REQUIRE @@ -1 +1 @@ -JSON +Colors diff --git a/test/runtests.jl b/test/runtests.jl index d263d6a..d7d40d5 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -10,7 +10,7 @@ function writepkg(name, precomp::Bool, submod::Bool) println(io, """ export SubModule module SubModule - using JSON + using Colors flag = true end """) @@ -32,7 +32,7 @@ using Requires flag = false function __init__() - @require JSON="682c06a0-de6a-54ab-a142-c8b1cf79cde6" begin + @require Colors="5ae59095-9a9b-59fe-a467-6f913c188581" begin $(action) end end @@ -77,7 +77,7 @@ end @eval using FooSubPC @test !(:SubModule in names(FooSubPC)) - @eval using JSON + @eval using Colors @test FooNPC.flag @test FooPC.flag