Skip to content
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

Fix JSON deserialization for test specs #396

Merged
merged 1 commit into from
Aug 3, 2017

Conversation

dnkoutso
Copy link
Contributor

@dnkoutso dnkoutso commented Aug 3, 2017

No description provided.

@dnkoutso dnkoutso force-pushed the fix_json_support branch 2 times, most recently from 41395e2 to 7ca1336 Compare August 3, 2017 18:48
results.add_error('test_type', "The test type `#{t}` is not supported. " \
supported_test_types = Specification::DSL::SUPPORTED_TEST_TYPES.map(&:to_s)
unless supported_test_types.include?(t.to_s)
results.add_error('test_type', "The test type `#{t.to_s}` is not supported. " \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the to_s in a string interpolation segment is implied

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@dnkoutso dnkoutso merged commit 2b02ecc into CocoaPods:master Aug 3, 2017
endocrimes pushed a commit that referenced this pull request Aug 6, 2017
Fix JSON deserialization for test specs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants