Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed Oct 3, 2022
1 parent 8e64f1e commit 819d9d3
Showing 1 changed file with 43 additions and 43 deletions.
86 changes: 43 additions & 43 deletions Tests/CustomDumpTests/DumpTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -874,49 +874,49 @@ final class DumpTests: XCTestCase {

var dump = ""
customDump(
[
human,
human,
human,
human2,
human2,
human2,
user,
user,
user,
user2,
user2,
user2,
], to: &dump)

XCTAssertNoDifference(
dump,
"""
[
[0]: DumpTests.Human(name: "John"),
[1]: DumpTests.Human(↩︎),
[2]: DumpTests.Human(↩︎),
[3]: DumpTests.Human#2(name: "John"),
[4]: DumpTests.Human#2(↩︎),
[5]: DumpTests.Human#2(↩︎),
[6]: DumpTests.User(
name: "John",
email: "[email protected]",
age: 97,
human: DumpTests.Human(↩︎)
),
[7]: DumpTests.User(↩︎),
[8]: DumpTests.User(↩︎),
[9]: DumpTests.User#2(
name: "John",
email: "[email protected]",
age: 97,
human: DumpTests.Human#2(↩︎)
),
[10]: DumpTests.User#2(↩︎),
[11]: DumpTests.User#2(↩︎)
]
"""
[
human,
human,
human,
human2,
human2,
human2,
user,
user,
user,
user2,
user2,
user2,
], to: &dump)

XCTAssertNoDifference(
dump,
"""
[
[0]: DumpTests.Human(name: "John"),
[1]: DumpTests.Human(↩︎),
[2]: DumpTests.Human(↩︎),
[3]: DumpTests.Human#2(name: "John"),
[4]: DumpTests.Human#2(↩︎),
[5]: DumpTests.Human#2(↩︎),
[6]: DumpTests.User(
name: "John",
email: "[email protected]",
age: 97,
human: DumpTests.Human(↩︎)
),
[7]: DumpTests.User(↩︎),
[8]: DumpTests.User(↩︎),
[9]: DumpTests.User#2(
name: "John",
email: "[email protected]",
age: 97,
human: DumpTests.Human#2(↩︎)
),
[10]: DumpTests.User#2(↩︎),
[11]: DumpTests.User#2(↩︎)
]
"""
)
}

Expand Down

0 comments on commit 819d9d3

Please sign in to comment.