From 5fc72fbca19153252704fc7d646a744622b8fd8f Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Tue, 22 Oct 2019 06:52:25 -0400 Subject: [PATCH] fix name of teardown function --- auto/generate_test_runner.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto/generate_test_runner.rb b/auto/generate_test_runner.rb index 9c8cb35..34762cf 100644 --- a/auto/generate_test_runner.rb +++ b/auto/generate_test_runner.rb @@ -285,12 +285,12 @@ class UnityTestRunnerGenerator if @options[:has_suite_teardown] if !@options[:suite_teardown].nil? output.puts("\n/*=======Suite Teardown=====*/") - output.puts('int suite_teardown(int num_failures)') + output.puts('int suiteTearDown(int num_failures)') output.puts('{') output.puts(@options[:suite_teardown]) output.puts('}') else - output.puts('extern int suite_teardown(int num_failures);') + output.puts('extern int suiteTearDown(int num_failures);') end end end -- GitLab