examples: meson: do not use deprecated test naming style

Tests cannot contain a ":", and configuring the example produced the
following warning:

test/test_runners/meson.build:12: DEPRECATION: ":" is not allowed in test name "Running: 01-test-case", it has been replaced with "_"
test/test_runners/meson.build:13: DEPRECATION: ":" is not allowed in test name "Running: 02-test-case", it has been replaced with "_"

In this case, the "running" part is redundant, so remove it.
This commit is contained in:
Eli Schwartz
2022-06-19 13:41:09 -04:00
parent 57e08575c2
commit ae10bd1268
@@ -5,9 +5,9 @@
# license: MIT # license: MIT
# #
cases = [ cases = [
['TestProductionCode_Runner.c', join_paths('..' ,'TestProductionCode.c' )], ['TestProductionCode_Runner.c', join_paths('..' ,'TestProductionCode.c' )],
['TestProductionCode2_Runner.c', join_paths('..' ,'TestProductionCode2.c')] ['TestProductionCode2_Runner.c', join_paths('..' ,'TestProductionCode2.c')]
] ]
test('Running: 01-test-case', executable('01-test-case', cases[0], dependencies: [ a_dep, unity_dep ])) test('01-test-case', executable('01-test-case', cases[0], dependencies: [ a_dep, unity_dep ]))
test('Running: 02-test-case', executable('02-test-case', cases[1], dependencies: [ b_dep, unity_dep ])) test('02-test-case', executable('02-test-case', cases[1], dependencies: [ b_dep, unity_dep ]))