diff --git a/.github/workflows/JuliaNightly.yml b/.github/workflows/JuliaNightly.yml index 288fb04..251a1cc 100644 --- a/.github/workflows/JuliaNightly.yml +++ b/.github/workflows/JuliaNightly.yml @@ -8,7 +8,7 @@ on: - cron: "0 2 * * *" # Daily at 2 AM UTC (8 PM CST) jobs: test: - name: Julia Nightly - Ubuntu - x64 + name: Julia nightly - ubuntu-latest - x64 runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/test/async-world-ages.jl b/test/async-world-ages.jl index c260498..40788b6 100644 --- a/test/async-world-ages.jl +++ b/test/async-world-ages.jl @@ -21,11 +21,11 @@ using Mocking # can test that patches to functions defined in later world ages can be called # from mocks in a Task running in an earlier world age. ch = Channel() do ch - # Block until we've started the patch + # Wait until there is data in the channel v1 = take!(ch) - # Call the (patched) foo + # Call the (patched) `foo` v2 = foo(v1) - # return the value + # Return the value into the channel put!(ch, v2) end diff --git a/test/runtests.jl b/test/runtests.jl index c827a3c..844991e 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -10,7 +10,8 @@ Mocking.activate() @testset "Mocking" begin @testset "Code quality (Aqua.jl)" begin # Unable to add compat entries for stdlibs while we support Julia 1.0 - Aqua.test_all(Mocking; deps_compat=(; check_extras=(; ignore=[:Dates, :Test]))) + stdlibs = [:Dates, :Test] + Aqua.test_all(Mocking; deps_compat=(; check_extras=(; ignore=stdlibs))) end include("dispatch.jl")