Skip to content

Commit b9ac06f

Browse files
committed
Fix double @main def test
1 parent ef552bb commit b9ac06f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/pos/_typeInterweaving/functorCurrying.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ object functorCurrying:
1313
def assertTransformation[F[_]: Functor][A][B](expected: F[B], original: F[A], mapping: A => B): Unit =
1414
assert(expected == summon[Functor[F]].map(original, mapping))
1515

16-
@main def test =
16+
@main def testCurrying =
1717
assertTransformation(List("a1", "b1"), List("a", "b"), elt => s"${elt}1")

tests/pos/_typeInterweaving/functorInterweaving.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ object functorInterweaving:
1313
def assertTransformation[F[_]: Functor][A](original: F[A])[B](expected: F[B])(mapping: A => B): Unit =
1414
assert(expected == summon[Functor[F]].map(original)(mapping))
1515

16-
@main def test =
16+
@main def testInterweaving =
1717
assertTransformation(List("a", "b"))(List("a1", "b1")){elt => s"${elt}1"}

0 commit comments

Comments
 (0)