提交 2051e500 编写于 作者: M mvandervoord

- 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
上级 f7a9390e
......@@ -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
......
......@@ -109,7 +109,7 @@ void UnityPrintNumberHex(const unsigned long number, const char nibbles_to_print
void UnityPrintMask(const unsigned long mask, const unsigned long number)
{
unsigned long bit = 0x00000001;
unsigned long bit = 0x80000000;
long i;
for (i = 0; i < 32; i++)
......@@ -129,7 +129,7 @@ void UnityPrintMask(const unsigned long mask, const unsigned long number)
{
UNITY_OUTPUT_CHAR('X');
}
bit = bit << 1;
bit = bit >> 1;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册