From a5cd232e61a6108b12cffa2020b59bc43e8931f4 Mon Sep 17 00:00:00 2001 From: Mark Canlas Date: Thu, 18 Jul 2024 15:28:01 -0400 Subject: [PATCH] type --- .../spawningpool/combinatorics/FixedLengthCombinatorSpec.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spawning-pool-core/src/test/scala/com/htmlism/spawningpool/combinatorics/FixedLengthCombinatorSpec.scala b/spawning-pool-core/src/test/scala/com/htmlism/spawningpool/combinatorics/FixedLengthCombinatorSpec.scala index ecaa28f..2aea9d0 100644 --- a/spawning-pool-core/src/test/scala/com/htmlism/spawningpool/combinatorics/FixedLengthCombinatorSpec.scala +++ b/spawning-pool-core/src/test/scala/com/htmlism/spawningpool/combinatorics/FixedLengthCombinatorSpec.scala @@ -45,5 +45,6 @@ class FixedTestCombinator(val size: Int) extends FixedLengthCombinator[String] w def nextUseFirstParent = parents.next() - override def fill(unused: Int) = List.fill(size) + override def fill(unused: Int): String => List[String] = + List.fill(size)(_) }