1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-28 02:34:27 +01:00

- fixed order of test assert bits

- test_runner_generator now protects against directories in include statements

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@61 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
mvandervoord
2010-03-14 01:50:53 +00:00
parent f7a9390ee7
commit 2051e500cb
2 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ class UnityTestRunnerGenerator
def find_mocks(includes)
mock_headers = []
includes.each do |include_file|
mock_headers << include_file if (include_file =~ /^mock/i)
mock_headers << File.basename(include_file) if (include_file =~ /^mock/i)
end
return mock_headers
end