Skip to content

Commit

Permalink
remove some tests (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Oct 19, 2023
1 parent a8dd33a commit a20fbdc
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/test/scala/scalapb/json4s/StructFormatSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit a20fbdc

Please sign in to comment.