We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3be9691 commit 768ad01Copy full SHA for 768ad01
modules/core/shared/src/test/scala/org/legogroup/woof/json/JsonSupportSuite.scala
@@ -8,6 +8,8 @@ import org.legogroup.woof.json.JsonSupportSuite.epochMillisGen
8
import org.scalacheck.Prop.*
9
import org.scalacheck.*
10
11
+import scala.collection.immutable.ArraySeq
12
+
13
class JsonSupportFunSuite extends munit.FunSuite:
14
15
test("Escape characters") {
@@ -78,7 +80,7 @@ object JsonSupportSuite:
78
80
lineNumber <- Gen.posNum[Int]
79
81
yield LogInfo(EnclosingClass(enclosingClassName.mkString(".")), fileName, lineNumber)
82
- val levelGen = Gen.oneOf(LogLevel.values)
83
+ val levelGen = Gen.oneOf(ArraySeq.unsafeWrapArray(LogLevel.values))
84
85
val epochMillisGen = Gen.posNum[Long].map(EpochMillis.apply)
86
0 commit comments