提交 8a45ccf4 编写于 作者: M Mark VanderVoord

Use custom mock prefix when searching for mock header files. #263

上级 689610b8
......@@ -157,7 +157,7 @@ class UnityTestRunnerGenerator
mock_headers = []
includes.each do |include_path|
include_file = File.basename(include_path)
mock_headers << include_path if (include_file =~ /^mock/i)
mock_headers << include_path if (include_file =~ /^#{@options[:mock_prefix]}/i)
end
return mock_headers
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册