-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c10255c
commit 5ad01b1
Showing
2 changed files
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1360,21 +1360,18 @@ final class DumpTests: XCTestCase { | |
var email: String | ||
} | ||
|
||
class DiffableObject: _CustomDiffObject, Equatable { | ||
class DiffableObject: _CustomDiffObject { | ||
var _customDiffValues: (Any, Any) { | ||
(Login(email: "[email protected]"), Login(email: "[email protected]")) | ||
} | ||
static func == (lhs: DiffableObject, rhs: DiffableObject) -> Bool { | ||
false | ||
} | ||
} | ||
|
||
struct DiffableObjects: Equatable { | ||
struct DiffableObjects { | ||
var obj1: DiffableObject | ||
var obj2: DiffableObject | ||
} | ||
|
||
struct DiffableObjectsParent: Equatable { | ||
struct DiffableObjectsParent { | ||
var objs1: DiffableObjects | ||
var objs2: DiffableObjects | ||
} | ||
|
@@ -1426,7 +1423,7 @@ final class DumpTests: XCTestCase { | |
} | ||
|
||
func testDiffableObject_Primitive() { | ||
class DiffableObject: _CustomDiffObject, Equatable { | ||
class DiffableObject: _CustomDiffObject { | ||
var _customDiffValues: (Any, Any) { | ||
("before", "after") | ||
} | ||
|
@@ -1435,12 +1432,12 @@ final class DumpTests: XCTestCase { | |
} | ||
} | ||
|
||
struct DiffableObjects: Equatable { | ||
struct DiffableObjects { | ||
var obj1: DiffableObject | ||
var obj2: DiffableObject | ||
} | ||
|
||
struct DiffableObjectsParent: Equatable { | ||
struct DiffableObjectsParent { | ||
var objs1: DiffableObjects | ||
var objs2: DiffableObjects | ||
} | ||
|