Document that everything is evaluated in the same world age inside a @testset
.
#26220
Labels
domain:docs
This change adds or pertains to documentation
testsystem
The unit testing framework and Test stdlib
This works:
Output:
If I remove the comments for the testset (enabling the testset block), it doesn't work anymore:
Output:
I started creating a package, because I thought it was related to
Pkg.test
, but after playing with it, I became able to reproduce by simply runningjulia src/Foo.jl
and enabling/disabling the@testset
block.The text was updated successfully, but these errors were encountered: