We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
runtests.jl
cd(@__DIR__) using Pkg using Test, TestSetExtensions, SafeTestsets @testset ExtendedTestSet "Example tests" begin @includetests ARGS end
test.jl
@safetestset "test" begin using Mocking Mocking.activate() patch = @patch open(fn::Function, f::AbstractString) = fn(IOBuffer(data)) end
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:
Can we close this as it appears to be a duplicate of #107 ?
Sorry, something went wrong.
Yeah! Not sure what happened here. Sorry for duplicate.
No branches or pull requests
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: