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

Fixed initialization of data structure by just doing it manually instead of statically (goodbye compiler warnings!)

This commit is contained in:
Mark VanderVoord
2014-03-07 15:17:25 -05:00
parent 291c2980e0
commit f1c778e100
18 changed files with 21 additions and 18 deletions

View File

@@ -266,8 +266,8 @@ class UnityTestRunnerGenerator
output.puts("int main(void)")
output.puts("{")
output.puts(" suite_setup();") unless @options[:suite_setup].nil?
output.puts(" Unity.TestFile = \"#{filename}\";")
output.puts(" UnityBegin();")
output.puts(" Unity.TestFile = \"#{filename}\";")
if (@options[:use_param_tests])
tests.each do |test|
if ((test[:args].nil?) or (test[:args].empty?))