diff --git a/test/tests/test_generate_test_runner.rb b/test/tests/test_generate_test_runner.rb index 1d73bf8..0f92a3a 100644 --- a/test/tests/test_generate_test_runner.rb +++ b/test/tests/test_generate_test_runner.rb @@ -1161,40 +1161,40 @@ RUNNER_TESTS = [ :text => [ "ERROR: Unknown Option z", "Options:", - "-l List all tests", - "-f TEST Only run tests with TEST in the name", - "-n TEST Only run tests with TEST in the name", - "-h Show this help menu", - "-q Quiet/Decrease verbosity", - "-v Increase verbosity", - "-x TEST Exclude tests with TEST in the name", + "-l List all tests and exit", + "-f NAME Filter to run only tests whose name includes NAME", + "-n NAME (deprecated) alias of -f", + "-h show this Help menu", + "-q Quiet/decrease verbosity", + "-v increase Verbosity", + "-x NAME eXclude tests whose name includes NAME", ], } }, { :name => 'ArgsHelp', - :testfile => 'testdata/testRunnerGenerator.c', - :testdefines => ['TEST', 'UNITY_USE_COMMAND_LINE_ARGS'], - :options => { - :cmdline_args => true, - }, - :cmdline_args => "-h", - :expected => { - :to_pass => [ ], - :to_fail => [ ], - :to_ignore => [ ], - :text => [ - "Options:", - "-l List all tests", - "-f TEST Only run tests with TEST in the name", - "-n TEST Only run tests with TEST in the name", - "-h Show this help menu", - "-q Quiet/Decrease verbosity", - "-v Increase verbosity", - "-x TEST Exclude tests with TEST in the name", - ], - } + :testfile => 'testdata/testRunnerGenerator.c', + :testdefines => ['TEST', 'UNITY_USE_COMMAND_LINE_ARGS'], + :options => { + :cmdline_args => true, }, + :cmdline_args => "-h", + :expected => { + :to_pass => [ ], + :to_fail => [ ], + :to_ignore => [ ], + :text => [ + "Options:", + "-l List all tests and exit", + "-f NAME Filter to run only tests whose name includes NAME", + "-n NAME (deprecated) alias of -f", + "-h show this Help menu", + "-q Quiet/decrease verbosity", + "-v increase Verbosity", + "-x NAME eXclude tests whose name includes NAME", + ], + } + }, ] def runner_test(test, runner, expected, test_defines, cmdline_args, features)