--- a/docs/Writerside/topics/test.h.md Fri Oct 10 17:24:19 2025 +0200 +++ b/docs/Writerside/topics/test.h.md Fri Oct 10 19:35:25 2025 +0200 @@ -93,7 +93,7 @@ Instead, you define a callable test subroutine with `CX_TEST_SUBROUTINE` and call it with `CX_TEST_CALL_SUBROUTINE`. The following example illustrates this with an adaption of the above test case. -<code-block lang="C"><![CDATA[ +```c CX_TEST_SUBROUTINE(test_foo_params, struct mystruct *x, int d) { x->d = d; CX_TEST_ASSERT(foo(x) == d); @@ -108,7 +108,7 @@ } free(x); } -]]></code-block> +``` > Any test function, test case or test subroutine, is a normal C function. > As such you can decide to make them `static` when you do not want external linkage.