Skip to content

Commit

Permalink
Attempt to solve typelevel#1315
Browse files Browse the repository at this point in the history
  • Loading branch information
labra committed Aug 23, 2016
1 parent e9d768e commit 0dc8eb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/test/scala/cats/tests/WriterTTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ class WriterTTests extends CatsSuite {

test("Writer.pure and WriterT.lift are consistent") {
forAll { (i: Int) =>
val writer: Writer[String, Int] = Writer.pure(i)
val writerT: Writer[String, Int] = WriterT.lift(Eval.now(i))
writer.run should === (writerT.run)
val writer: Writer[String, Int] = Writer.value(i)
val writerT: WriterT[Option, String, Int] = WriterT.lift(Some(i))
writer.run.some should === (writerT.run)
}
}

Expand Down

0 comments on commit 0dc8eb7

Please sign in to comment.