Skip to content

Commit

Permalink
String => TestName in monix-bio
Browse files Browse the repository at this point in the history
  • Loading branch information
Baccata committed Sep 20, 2020
1 parent a827c3e commit 9ba8c4e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/monixBio/src/weaver/monixbiocompat/suites.scala
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ trait MutableIOSuite
extends MutableFSuite[Task]
with BaseIOSuite
with Expectations.Helpers {
override def test(name: String): PartiallyAppliedTest =
override def test(name: TestName): PartiallyAppliedTest =
new SubPartiallyAppliedTest(name)

class SubPartiallyAppliedTest(name: String)
class SubPartiallyAppliedTest(name: TestName)
extends super.PartiallyAppliedTest(name) {
override def apply(run: => Task[Expectations]): Unit =
registerTest(name)(_ => Test(name, run))
registerTest(name)(_ => Test(name.name, run))
override def apply(run: Res => Task[Expectations]): Unit =
registerTest(name)(res => Test(name, run(res)))
registerTest(name)(res => Test(name.name, run(res)))
override def apply(run: (Res, Log[Task]) => Task[Expectations]): Unit =
registerTest(name)(res => Test(name, log => run(res, log)))
registerTest(name)(res => Test(name.name, log => run(res, log)))
}
}

Expand Down

0 comments on commit 9ba8c4e

Please sign in to comment.