Skip to content

Commit 276850c

Browse files
joerchanaescolar
authored andcommitted
testsuite: Remove reference to deprecated ztest API
Remove reference to deprecated ztest_test_suite function from API description. Signed-off-by: Joakim Andersson <joerchan@gmail.com>
1 parent 5681d42 commit 276850c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

subsys/testsuite/ztest/include/zephyr/ztest_test.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,13 @@ extern struct ztest_suite_node _ztest_suite_node_list_end[];
217217
#define ZTEST_SUITE_COUNT (_ztest_suite_node_list_end - _ztest_suite_node_list_start)
218218

219219
/**
220-
* Create and register a ztest suite. Using this macro creates a new test suite (using
221-
* ztest_test_suite). It then creates a struct ztest_suite_node in a specific linker section.
220+
* Create and register a ztest suite. Using this macro creates a new test suite.
221+
* It then creates a struct ztest_suite_node in a specific linker section.
222222
*
223223
* Tests can then be run by calling ztest_run_test_suites(const void *state) by passing
224224
* in the current state. See the documentation for ztest_run_test_suites for more info.
225225
*
226-
* @param SUITE_NAME The name of the suite (see ztest_test_suite for more info)
226+
* @param SUITE_NAME The name of the suite
227227
* @param PREDICATE A function to test against the state and determine if the test should run.
228228
* @param setup_fn The setup function to call before running this test suite
229229
* @param before_fn The function to call before each unit test in this suite

0 commit comments

Comments
 (0)