Skip to content

Commit

Permalink
fix 1.11 change with ScopedValues not being exported into Base (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored Aug 21, 2024
1 parent 185778a commit a0f6606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mocking.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ using ExprTools: splitdef, combinedef
# We cannot use ScopedValues.jl for backwards compatability as that implementation breaks
# `@test_logs`.
if VERSION >= v"1.11.0-DEV.482"
using Base: ScopedValue, with
using Base.ScopedValues: ScopedValue, with
end

export @patch, @mock, Patch, apply
Expand Down

0 comments on commit a0f6606

Please sign in to comment.