-
-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes PBXObject equality #224
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch, great catch @yonaskolb!
@pepibumur do you know why the tests are failing? |
@yonaskolb, apparently there are some tests that are failing: |
@@ -22,7 +22,7 @@ final class PBXRezBuildPhaseSpec: XCTestCase { | |||
} | |||
|
|||
func test_equals_returnsTheCorrectValue() { | |||
let another = PBXResourcesBuildPhase(files: ["123"], | |||
let another = PBXRezBuildPhase(files: ["123"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an example of something that was incorrectly passing tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:/ we need Sourcery
Resolves #223
This makes PBXObject conform to
Equatable
which then calls out to an instance method that all subclasses override. When we move to Sourcery we can remove all of thisThis change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)