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
I haven't seen any documentation where you mention that you support this but I noticed that zio-mock supported ZStream as a return type so I was hoping that you would also support ZSink.
I found this behavior when testing using
zio=2.0.15, zio-stream=2.0.15, zio-mock=1.0.0-RC10
exception during macro expansion:
scala.MatchError: (Sink(Any,Nothing,Any,Nothing,Long),false,false,false) (of class scala.Tuple4)
at zio.mock.MockableMacro$.zio$mock$MockableMacro$$makeTag$1(MockableMacro.scala:161)
at zio.mock.MockableMacro$$anonfun$1.applyOrElse(MockableMacro.scala:297)
at zio.mock.MockableMacro$$anonfun$1.applyOrElse(MockableMacro.scala:295)
at scala.collection.StrictOptimizedIterableOps.collect(StrictOptimizedIterableOps.scala:151)
at scala.collection.StrictOptimizedIterableOps.collect$(StrictOptimizedIterableOps.scala:136)
at scala.collection.immutable.HashMap.collect(HashMap.scala:39)
at zio.mock.MockableMacro$.impl(MockableMacro.scala:295)
Is this an expected error?
The text was updated successfully, but these errors were encountered:
I haven't seen any documentation where you mention that you support this but I noticed that zio-mock supported ZStream as a return type so I was hoping that you would also support ZSink.
I found this behavior when testing using
zio=2.0.15, zio-stream=2.0.15, zio-mock=1.0.0-RC10
The behavior seems to be the same in
1.0.0-RC12
.when compiling this the compiler returns
Is this an expected error?
The text was updated successfully, but these errors were encountered: