-
Notifications
You must be signed in to change notification settings - Fork 350
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
Add support for xcfilelist
in script_phase
DSL
#517
Conversation
add |
Tests already covered by existing tests around |
4efef1b
to
7c08f78
Compare
spec/specification/linter_spec.rb
Outdated
@@ -462,10 +462,11 @@ def result_should_include(*values) | |||
result_should_include('script_phases', 'Missing required shell script phase options `script` in script phase `Hello World`.') | |||
end | |||
|
|||
it 'checks script phases include the required keys' do | |||
it 'checks script phases does not include unknown keys' 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.
this seems like there should be two tests that:
- Ensure required keys are specified
- Ensure all keys that are provided are known/valid
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.
its already added above
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.
ohh I see now 👍
7c08f78
to
ea0932a
Compare
ea0932a
to
d44181a
Compare
@@ -462,10 +462,11 @@ def result_should_include(*values) | |||
result_should_include('script_phases', 'Missing required shell script phase options `script` in script phase `Hello World`.') | |||
end | |||
|
|||
it 'checks script phases include the required keys' do | |||
it 'checks script phases that include unknown keys' 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.
the test was named the same way as the one above
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.
probably from copy-pasta
Prerequisite for CocoaPods/CocoaPods#8585