Skip to content

Commit

Permalink
Merge pull request #229 from KrauseFx/patch-1
Browse files Browse the repository at this point in the history
Update test-specs.html.md to include Swift in file pattern
  • Loading branch information
amorde authored Oct 29, 2024
2 parents 9417f15 + 53ba18b commit 1b935c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/using/test-specs.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ Pod::Spec.new do |s|
:file => 'LICENSE',
:text => 'Permission is hereby granted ...'
}
s.source_files = 'Classes/*.{h,m}'
s.source_files = 'Classes/*.{swift,h,m}'

s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'Tests/*.{h,m}'
test_spec.source_files = 'Tests/*.{swift,h,m}'
test_spec.dependency 'OCMock' # This dependency will only be linked with your tests.
end
end
Expand Down Expand Up @@ -61,7 +61,7 @@ With CocoaPods 1.4.0, support for app hosts was added to test specs. If your tes
```ruby
s.test_spec 'Tests' do |test_spec|
test_spec.requires_app_host = true
test_spec.source_files = 'Tests/*.{h,m}'
test_spec.source_files = 'Tests/*.{swift,h,m}'
end
```

Expand Down

0 comments on commit 1b935c2

Please sign in to comment.