forked from tofu-tf/tofu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix test duplication, separate to properly kernel module tofu-tf#779
- Loading branch information
Showing
49 changed files
with
135 additions
and
1,775 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
package tofu | ||
|
||
import cats.data.ReaderT | ||
import cats.effect.{ContextShift, IO} | ||
import cats.effect.{Concurrent, ContextShift, IO} | ||
|
||
class IOSummonChecks(implicit cs: ContextShift[IO]) { | ||
implicitly[Fire[IO[*]]] | ||
implicitly[Start[IO[*]]] | ||
implicitly[Race[IO[*]]] | ||
implicitly[Errors[IO, Throwable]] | ||
import scala.annotation.nowarn | ||
|
||
implicitly[Fire[ReaderT[IO, Unit, *]]] | ||
implicitly[Start[ReaderT[IO, Unit, *]]] | ||
implicitly[Race[ReaderT[IO, Unit, *]]] | ||
implicitly[Errors[ReaderT[IO, Unit, *], Throwable]] | ||
@nowarn("cat=unused-params") | ||
class IOSummonChecks { | ||
def summonForIO(implicit cs: ContextShift[IO]) = { | ||
implicitly[Start[IO[*]]] | ||
implicitly[Start[ReaderT[IO, Unit, *]]] | ||
} | ||
|
||
def summonInstancesForConcurrent[F[_]: Concurrent] = { | ||
implicitly[Start[F]] | ||
implicitly[Start[ReaderT[F, Unit, *]]] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 0 additions & 61 deletions
61
modules/core3/src/test/scala/examples/DoMonadExamples.scala
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
package tofu | ||
|
||
import cats.data.ReaderT | ||
import cats.effect.{IO} | ||
import cats.effect.{Concurrent, IO} | ||
|
||
class IOSummonChecks { | ||
implicitly[Fire[IO[*]]] | ||
implicitly[Start[IO[*]]] | ||
implicitly[Race[IO[*]]] | ||
implicitly[Errors[IO, Throwable]] | ||
|
||
implicitly[Fire[ReaderT[IO, Unit, *]]] | ||
implicitly[Start[ReaderT[IO, Unit, *]]] | ||
implicitly[Race[ReaderT[IO, Unit, *]]] | ||
implicitly[Errors[ReaderT[IO, Unit, *], Throwable]] | ||
|
||
def summonInstancesForConcurrent[F[_]: Concurrent] = { | ||
implicitly[Start[F]] | ||
implicitly[Start[ReaderT[F, Unit, *]]] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
modules/core3/src/test/scala/tofu/control/SelectiveSummon.scala
This file was deleted.
Oops, something went wrong.
87 changes: 0 additions & 87 deletions
87
modules/core3/src/test/scala/tofu/examples/TofuRaiseExamples.scala
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.