Commit 298c6adf authored by Emmanuele Bassi's avatar Emmanuele Bassi 👣

Merge branch 'docs-examples' into 'master'

docs: Add example to g_test_summary() documentation

See merge request !992
parents d076c4c6 4b087717
Pipeline #95922 passed with stages
in 17 minutes and 6 seconds
......@@ -1941,6 +1941,18 @@ g_test_bug (const char *bug_uri_snippet)
*
* This should be called at the top of a test function.
*
* For example:
* |[<!-- language="C" -->
* static void
* test_array_sort (void)
* {
* g_test_summary ("Test my_array_sort() sorts the array correctly and stably, "
* "including testing zero length and one-element arrays.");
*
* …
* }
* ]|
*
* Since: 2.62
* See also: g_test_bug()
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment