提交 cb8744c4 编写于 作者: M Mark VanderVoord

More argument fixing (I hate flying blind... can't wait to get back on my laptop)

上级 c19e3f99
......@@ -167,8 +167,8 @@ class UnityTestRunnerGenerator
end
def find_setup_and_teardown(source)
@has_setup = source =~ /void\s+#{@options[setup_name]}\s*\(/
@has_teardown = source =~ /void\s+#{@options[teardown_name]}\s*\(/
@has_setup = source =~ /void\s+#{@options[:setup_name]}\s*\(/
@has_teardown = source =~ /void\s+#{@options[:teardown_name]}\s*\(/
@has_suite_setup = (!@options[:suite_setup].nil?) || (source =~ /void\s+suiteSetUp\s*\(/)
@has_suite_teardown = (!@options[:suite_teardown].nil?) || (source =~ /void\s+suiteTearDown\s*\(/)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册