Skip to content

Commit

Permalink
Ran scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Guisanpea committed Feb 8, 2022
1 parent 8f7e941 commit 4cfb4b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 3 additions & 6 deletions fs2/src/test/scala/io/circe/fs2/CirceSuite.scala
@@ -1,16 +1,13 @@
package io.circe.fs2

import cats.syntax.{AllSyntax, EitherOps}
import munit.{CatsEffectSuite, ScalaCheckEffectSuite}
import cats.syntax.{ AllSyntax, EitherOps }
import munit.{ CatsEffectSuite, ScalaCheckEffectSuite }

import scala.language.implicitConversions

/**
* An opinionated stack of traits to improve consistency and reduce boilerplate in circe tests.
*/
trait CirceSuite
extends CatsEffectSuite
with ScalaCheckEffectSuite
with AllSyntax {
trait CirceSuite extends CatsEffectSuite with ScalaCheckEffectSuite with AllSyntax {
implicit def prioritizedCatsSyntaxEither[A, B](eab: Either[A, B]): EitherOps[A, B] = new EitherOps(eab)
}
6 changes: 3 additions & 3 deletions fs2/src/test/scala/io/circe/fs2/Fs2Suite.scala
@@ -1,15 +1,15 @@
package io.circe.fs2

import _root_.fs2.{Pipe, Stream, text}
import _root_.fs2.{ Pipe, Stream, text }
import cats.effect.IO
import io.circe.fs2.examples._
import io.circe.generic.auto._
import io.circe.syntax._
import io.circe.{DecodingFailure, Json, ParsingFailure}
import io.circe.{ DecodingFailure, Json, ParsingFailure }
import org.scalacheck.effect.PropF
import org.typelevel.jawn.AsyncParser

import scala.collection.immutable.{Stream => StdStream}
import scala.collection.immutable.{ Stream => StdStream }

class Fs2Suite extends CirceSuite {
def fooStream(fooStdStream: StdStream[Foo], fooVector: Vector[Foo]): Stream[IO, Foo] =
Expand Down

0 comments on commit 4cfb4b0

Please sign in to comment.