Skip to content

Commit

Permalink
Switch from JSON to Colors package
Browse files Browse the repository at this point in the history
The tests need to load a package which itself has non-stdlib packages
as sub-dependencies for this to trigger load errors.
  • Loading branch information
jmert committed Jul 12, 2018
1 parent e68d1b3 commit 9930772
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/REQUIRE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
JSON
Colors
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function writepkg(name, precomp::Bool, submod::Bool)
println(io, """
export SubModule
module SubModule
using JSON
using Colors
flag = true
end
""")
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9930772

Please sign in to comment.