Skip to content

Commit

Permalink
style: format file
Browse files Browse the repository at this point in the history
  • Loading branch information
ologbonowiwi committed Jun 28, 2024
1 parent 7c7ea25 commit 90801d2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions zio-json/shared/src/test/scala/zio/json/DecoderSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import zio.test.TestAspect.jvmOnly
import zio.test._

import java.math.BigInteger
import java.time.{Duration, OffsetDateTime, ZonedDateTime}
import java.time.{ Duration, OffsetDateTime, ZonedDateTime }
import java.util.UUID
import scala.collection.{SortedMap, immutable, mutable}
import scala.collection.{ SortedMap, immutable, mutable }

object DecoderSpec extends ZIOSpecDefault {

Expand All @@ -27,7 +27,10 @@ object DecoderSpec extends ZIOSpecDefault {
},
test("BigInteger too large") {
// this big integer consumes more than 256 bits
assert("170141183460469231731687303715884105728489465165484668486513574864654818964653168465316546851".fromJson[java.math.BigInteger])(
assert(
"170141183460469231731687303715884105728489465165484668486513574864654818964653168465316546851"
.fromJson[java.math.BigInteger]
)(
isLeft(equalTo("(expected a 256 bit BigInteger)"))
)
},
Expand Down

0 comments on commit 90801d2

Please sign in to comment.