Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions test/shared/src/main/scala/zio/test/TestClock.scala
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ object TestClock extends Serializable {
annotations: Annotations,
warningState: Ref.Synchronized[TestClock.WarningData],
suspendedWarningState: Ref.Synchronized[TestClock.SuspendedWarningData]
) extends Clock
with TestClock
) extends TestClock
with TestClockPlatformSpecific {

/**
Expand Down
3 changes: 1 addition & 2 deletions test/shared/src/main/scala/zio/test/TestConsole.scala
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ object TestConsole extends Serializable {
live: Live,
annotations: Annotations,
debugState: FiberRef[Boolean]
) extends Console
with TestConsole {
) extends TestConsole {

/**
* Clears the contents of the input buffer.
Expand Down
2 changes: 1 addition & 1 deletion test/shared/src/main/scala/zio/test/TestRandom.scala
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ object TestRandom extends Serializable {
* Adapted from @gzmo work in Scala.js
* (https://github.com/scala-js/scala-js/pull/780)
*/
final case class Test(randomState: Ref.Atomic[Data], bufferState: Ref.Atomic[Buffer]) extends Random with TestRandom {
final case class Test(randomState: Ref.Atomic[Data], bufferState: Ref.Atomic[Buffer]) extends TestRandom {

/**
* Clears the buffer of booleans.
Expand Down
2 changes: 1 addition & 1 deletion test/shared/src/main/scala/zio/test/TestSystem.scala
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ trait TestSystem extends System with Restorable {

object TestSystem extends Serializable {

final case class Test(systemState: Ref.Atomic[TestSystem.Data]) extends System with TestSystem {
final case class Test(systemState: Ref.Atomic[TestSystem.Data]) extends TestSystem {

/**
* Returns the specified environment variable if it exists.
Expand Down