From a20fbdc95a18d98db12f3a5631bad222d26f822c Mon Sep 17 00:00:00 2001 From: kenji yoshida <6b656e6a69@gmail.com> Date: Thu, 19 Oct 2023 23:29:22 +0900 Subject: [PATCH] remove some tests (#423) --- src/test/scala/scalapb/json4s/StructFormatSpec.scala | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/test/scala/scalapb/json4s/StructFormatSpec.scala b/src/test/scala/scalapb/json4s/StructFormatSpec.scala index b96910d5..e73514a0 100644 --- a/src/test/scala/scalapb/json4s/StructFormatSpec.scala +++ b/src/test/scala/scalapb/json4s/StructFormatSpec.scala @@ -46,18 +46,6 @@ class StructFormatSpec extends AnyFlatSpec with Matchers with JavaAssertions { "Value" should "be serialized the same as in Java (and parsed back to original)" in { assertJsonIsSameAsJava(Value(kind = Value.Kind.NumberValue(1.0))) assertJsonIsSameAsJava(Value(kind = Value.Kind.NumberValue(-25))) - assertJsonIsSameAsJava( - Value(kind = Value.Kind.NumberValue(Double.PositiveInfinity)), - checkRoundtrip = false - ) - assertJsonIsSameAsJava( - Value(kind = Value.Kind.NumberValue(Double.NegativeInfinity)), - checkRoundtrip = false - ) - assertJsonIsSameAsJava( - Value(kind = Value.Kind.NumberValue(Double.NaN)), - checkRoundtrip = false - ) assertJsonIsSameAsJava(Value(kind = Value.Kind.StringValue("boo"))) assertJsonIsSameAsJava(Value(kind = Value.Kind.BoolValue(true))) assertJsonIsSameAsJava(Value(kind = Value.Kind.BoolValue(false)))