-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Error while running in @safetestset #107
Comments
Hmm, does |
Weird. Okay, if nobody gets to it I'll take a closer look in a few hours. |
@rofinn I think that the problem is this: YingboMa/SafeTestsets.jl#3 |
Ah, that makes sense. I don't think there's much we can do on the Mocking.jl side then, but we might be able to work around it for your case. If you're willing to manually construct the https://github.com/JuliaTesting/Mocking.jl/blob/master/src/patch.jl#L2 |
The workaround in SafeTestsets.jl is to use an Overall, this is an issue with SafeTestsets.jl and I've made a PR to allow the original example to work in: YingboMa/SafeTestsets.jl#16 |
runtests.jl
test.jl
This throws
LoadError: UndefVarError: @patch not defined
Julia version: 1.8.2
Operating System: Ubuntu 22.04
Mocking version:
The text was updated successfully, but these errors were encountered: