Skip to content

Commit 4f63e6b

Browse files
committed
Format tests
1 parent 3bbbfff commit 4f63e6b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

testkit/shared/src/main/scala/diffson/TestSimpleDiff.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ abstract class TestSimpleDiff[Json](implicit val Json: Jsony[Json])
4747
val json4 = parseJson("""{"a": 3, "b": {"a": true }}""")
4848
val json5 = parseJson("""{"a": 3, "b": {"a": true, "b": 43}, "c": null}""")
4949
diff(json1, json2).ops should contain theSameElementsAs List(Add(Pointer("new"), false: Json))
50-
diff(json1, json3).ops should contain theSameElementsAs List(Add(Pointer("new2"), Json.Null), Add(Pointer("new1"), false: Json))
51-
diff(json4, json5).ops should contain theSameElementsAs List(Add(Pointer("b", "b"), 43: Json), Add(Pointer("c"), Json.Null))
50+
diff(json1, json3).ops should contain theSameElementsAs List(Add(Pointer("new2"), Json.Null),
51+
Add(Pointer("new1"), false: Json))
52+
diff(json4, json5).ops should contain theSameElementsAs List(Add(Pointer("b", "b"), 43: Json),
53+
Add(Pointer("c"), Json.Null))
5254
}
5355

5456
it should "contain a remove operation for each removed field" in {

0 commit comments

Comments
 (0)