Skip to content

Commit 8aeed88

Browse files
committed
add some flatMap cases
1 parent 8e4fa2e commit 8aeed88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

analyzer/src/test/scala/com/avsystem/commons/analyzer/ThrownExceptionNotInFunctionTest.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ final class ThrownExceptionNotInFunctionTest extends AnyFunSuite with AnalyzerTe
88

99
Seq(
1010
("Option[_]", "map"),
11+
("Option[_]", "flatMap"),
1112
("List[_]", "map"),
1213
("Seq[_]", "map"),
1314
("Set[_]", "map"),
1415
("Map[_, _]", "map"),
1516
("scala.concurrent.Future[_]", "map"),
17+
("scala.concurrent.Future[_]", "flatMap"),
1618
("scala.util.Try[_]", "map"),
1719
("Either[_, _]", "map"),
1820
("monix.eval.Task[_]", "map"),
21+
("monix.eval.Task[_]", "flatMap"),
1922
("com.avsystem.commons.misc.Opt[_]", "map"),
2023
("String => Int", "andThen"),
2124
("String => Nothing", "andThen"),

0 commit comments

Comments
 (0)