We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b12f70c commit a4e5e48Copy full SHA for a4e5e48
tests/shared/src/test/scala/org/typelevel/toolkit/ScalaCliProcess.scala
@@ -42,8 +42,8 @@ object ScalaCliProcess {
42
process.exitValue,
43
process.stdout.through(fs2.text.utf8.decode).compile.string,
44
process.stderr.through(fs2.text.utf8.decode).compile.string
45
- ).parFlatMapN {
46
- case (0, _, _) => IO.pure(success)
+ ).parMapN {
+ case (0, _, _) => success
47
case (exitCode, stdout, stdErr) =>
48
val errorMessage: String = List(
49
Option(stdout).filter(_.nonEmpty).map(s => s"[STDOUT]: $s"),
@@ -55,7 +55,7 @@ object ScalaCliProcess {
55
case (summary, None) => summary
56
}
57
58
- IO.pure(failure(errorMessage))
+ failure(errorMessage)
59
60
)
61
0 commit comments