Skip to content

Commit

Permalink
Merge pull request akka#21636 from johanandren/wip-make-decimal-test-…
Browse files Browse the repository at this point in the history
…case-use-decimal-johanandren

Minimal test fix (integer -> decimal)
  • Loading branch information
2m authored Oct 8, 2016
2 parents 6d86ece + ef7361c commit 224ca30
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ class JsonFramingSpec extends AkkaSpec {

"successfully parse single field having decimal value" in {
val buffer = new JsonObjectParser()
buffer.offer(ByteString("""{ "age": 101}"""))
buffer.poll().get.utf8String shouldBe """{ "age": 101}"""
buffer.offer(ByteString("""{ "age": 10.1}"""))
buffer.poll().get.utf8String shouldBe """{ "age": 10.1}"""
}

"successfully parse single field having nested object" in {
Expand Down

0 comments on commit 224ca30

Please sign in to comment.