Skip to content

Commit

Permalink
Merge pull request ThrowTheSwitch#520 from softwareinmotion/runner_mo…
Browse files Browse the repository at this point in the history
…ck_suffix

parse mock files correctly
  • Loading branch information
mvandervoord authored Jan 7, 2021
2 parents 99fb90a + c3afe99 commit 038dd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto/generate_test_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def find_mocks(includes)
mock_headers = []
includes.each do |include_path|
include_file = File.basename(include_path)
mock_headers << include_path if include_file =~ /^#{@options[:mock_prefix]}.*#{@options[:mock_suffix]}$/i
mock_headers << include_path if include_file =~ /^#{@options[:mock_prefix]}.*#{@options[:mock_suffix]}\.h$/i
end
mock_headers
end
Expand Down

0 comments on commit 038dd81

Please sign in to comment.