Commit 47ab8e07 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[AggregateXCConfig] Add a spec for having a space between -iquote and -isystem paths

parent 5ab39694
...@@ -164,8 +164,10 @@ module Pod ...@@ -164,8 +164,10 @@ module Pod
end end
it 'includes the public header paths as system headers' do it 'includes the public header paths as system headers' do
expected = '-isystem "${PODS_ROOT}/Headers/Public"' expected = '$(inherited) -iquote "$CONFIGURATION_BUILD_DIR/OrangeFramework.framework/Headers" -isystem "${PODS_ROOT}/Headers/Public"'
@xcconfig.to_hash['OTHER_CFLAGS'].should.include expected @generator.stubs(:pod_targets).returns([@pod_target, pod_target(fixture_spec('orange-framework/OrangeFramework.podspec'))])
@xcconfig = @generator.generate
@xcconfig.to_hash['OTHER_CFLAGS'].should == expected
end end
it 'includes the public header paths as user headers' do it 'includes the public header paths as user headers' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment