You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following throws an error because the @mock macro tries to put all expr.args[2:end] into a tuple (or doesn't correctly distinguish args and kwargs).
Example)
@mockpipeline(`ls -al`, stderr=DevNull)
throws the following error
julia --compilecache=no -e 'Pkg.test("MyPkg")'
INFO: Testing MyPkg
MyPkg: Error During Test
Got an exception of type LoadError outside of a @test
LoadError: function tuple does not accept keyword arguments
in kwfunc(::Any) at ./boot.jl:236
in macro expansion at /Users/rory/.playground/share/test/packages/v0.5/Mocking/src/Mocking.jl:191 [inlined]
...
The text was updated successfully, but these errors were encountered:
The following throws an error because the
@mock
macro tries to put allexpr.args[2:end]
into atuple
(or doesn't correctly distinguish args and kwargs).Example)
throws the following error
The text was updated successfully, but these errors were encountered: