Skip to content

Commit

Permalink
booktests: small fix for nightly (#4521)
Browse files Browse the repository at this point in the history
  • Loading branch information
benlorenz authored Jan 30, 2025
1 parent a4a9edf commit eb35e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/book/test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ isdefined(Main, :FakeTerminals) || include(joinpath(pkgdir(REPL),"test","FakeTer
mockdule = Module(sym)
# make it accessible from Main
@eval Main global $sym::Module
setproperty!(Main, sym, mockdule)
invokelatest(setproperty!, Main, sym, mockdule)
Core.eval(mockdule, :(eval(x) = Core.eval($(mockdule), x)))
Core.eval(mockdule, :(include(x) = Base.include($(mockdule), abspath(x))))

Expand Down

0 comments on commit eb35e0e

Please sign in to comment.