Skip to content

Commit

Permalink
Prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
fsvehla authored and brbrown25 committed Mar 16, 2021
1 parent 1f164dd commit c5ba46f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions zio-json/jvm/src/test/scala/zio/json/CarterSpec.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package testzio.json

import zio.json._
import zio.blocking._
import zio.json._
import zio.test.Assertion._
import zio.test._

Expand Down Expand Up @@ -61,7 +61,7 @@ object CarterSpec extends DefaultRunnableSpec {
test("whitespace showing no retract call") {
val expect: Either[String, Testing1] = Right(Testing1(Union(Right(0.1)), Union(Left("2025-01-01"))))
assert(JsonDecoder[Testing1].decodeJson("{\"x\":0.1 ,\"y\":\"2025-01-01\"}"))(equalTo(expect))
},
}
)

}
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ private[zio] final class WithRecordingReader(in: OneCharReader, initial: Int)
case _ =>
reading = writing - 1
}
}
else
} else
reading -= 1

def offset(): Int =
Expand Down

0 comments on commit c5ba46f

Please sign in to comment.