docs/Writerside/topics/test.h.md

changeset 1424
563033aa998c
parent 1420
c6f55a2b3495
--- a/docs/Writerside/topics/test.h.md	Sat Oct 11 15:42:48 2025 +0200
+++ b/docs/Writerside/topics/test.h.md	Sun Oct 12 20:21:56 2025 +0200
@@ -18,7 +18,7 @@
 A test case needs to be defined with the `CX_TEST` macro.
 The general structure of a test case is 1) setup code, 2) the actual test, 3) tear down code.
 In UCX this is realized by the `CX_TEST_DO` macro with which you can define a scope for the actual test.
-Whenever a test assertion fails, the scope is exited and the tear down code is executed.
+Whenever a test assertion fails, the scope is exited and the tear-down code is executed.
 
 <tabs>
 <tab title="Test">
@@ -110,9 +110,9 @@
 }
 ```
 
-> Any test function, test case or test subroutine, is a normal C function.
+> 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.
-> For example, just define the test as `static CX_TEST(test_foo)` instead of `CX_TEST(test_foo)`.
+> For example, you can define the test as `static CX_TEST(test_foo)` instead of `CX_TEST(test_foo)`.
 
 <seealso>
 <category ref="apidoc">

mercurial