-
Notifications
You must be signed in to change notification settings - Fork 352
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
Follow up fix to #595 not to delete other hashes during serialization. #598
Conversation
ccc167c
to
1c41a66
Compare
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.
Needs a test for the case this is trying to fix
The test that was written in #595 still passes. |
Verified that CocoaPods integration specs all pass with this change with 0 checksum changes to files. |
but we should still add a new test for the bug this PR is trying to fix |
1c41a66
to
12c46b5
Compare
12c46b5
to
13e8522
Compare
@@ -80,6 +81,15 @@ module Pod | |||
|
|||
new_json.should.equal json | |||
end | |||
|
|||
it 'maintains correct order of keys across versions' do |
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.
@segiddins this test fails when I add hash.delete('platforms')
either inside or outside the conditional.
I still feel like making an entirely new hash will be less error prone for future changes. |
No description provided.