提交 5fc72fbc 编写于 作者: M Mark VanderVoord

fix name of teardown function

上级 ff697ad2
...@@ -285,12 +285,12 @@ class UnityTestRunnerGenerator ...@@ -285,12 +285,12 @@ class UnityTestRunnerGenerator
if @options[:has_suite_teardown] if @options[:has_suite_teardown]
if !@options[:suite_teardown].nil? if !@options[:suite_teardown].nil?
output.puts("\n/*=======Suite Teardown=====*/") output.puts("\n/*=======Suite Teardown=====*/")
output.puts('int suite_teardown(int num_failures)') output.puts('int suiteTearDown(int num_failures)')
output.puts('{') output.puts('{')
output.puts(@options[:suite_teardown]) output.puts(@options[:suite_teardown])
output.puts('}') output.puts('}')
else else
output.puts('extern int suite_teardown(int num_failures);') output.puts('extern int suiteTearDown(int num_failures);')
end end
end end
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册