Skip to content

Commit 9930772

Browse files
committed
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.
1 parent e68d1b3 commit 9930772

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
JSON
1+
Colors

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function writepkg(name, precomp::Bool, submod::Bool)
1010
println(io, """
1111
export SubModule
1212
module SubModule
13-
using JSON
13+
using Colors
1414
flag = true
1515
end
1616
""")
@@ -32,7 +32,7 @@ using Requires
3232
flag = false
3333
3434
function __init__()
35-
@require JSON="682c06a0-de6a-54ab-a142-c8b1cf79cde6" begin
35+
@require Colors="5ae59095-9a9b-59fe-a467-6f913c188581" begin
3636
$(action)
3737
end
3838
end
@@ -77,7 +77,7 @@ end
7777
@eval using FooSubPC
7878
@test !(:SubModule in names(FooSubPC))
7979

80-
@eval using JSON
80+
@eval using Colors
8181

8282
@test FooNPC.flag
8383
@test FooPC.flag

0 commit comments

Comments
 (0)