mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-26 09:51:36 +01:00
cleanup of warnings
This commit is contained in:
@@ -239,17 +239,15 @@ class UnityTestRunnerGenerator
|
||||
if @options[:use_param_tests]
|
||||
idx = 0
|
||||
tests.each do |test|
|
||||
if (test[:args].nil? || test[:args].empty?)
|
||||
if test[:args].nil? || test[:args].empty?
|
||||
idx += 1
|
||||
else
|
||||
test[:args].each do |args|
|
||||
idx += 1
|
||||
end
|
||||
test[:args].each { idx += 1 }
|
||||
end
|
||||
end
|
||||
return idx
|
||||
idx
|
||||
else
|
||||
return tests.size
|
||||
tests.size
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
0
auto/unity_test_summary.rb
Normal file → Executable file
0
auto/unity_test_summary.rb
Normal file → Executable file
Reference in New Issue
Block a user