docs: Format operators nicely in gtestutils documentation

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2018-12-12 11:24:52 +00:00
parent ee364db967
commit 8a2fa212e7

View File

@ -576,7 +576,7 @@
* g_assert_cmpstr: * g_assert_cmpstr:
* @s1: a string (may be %NULL) * @s1: a string (may be %NULL)
* @cmp: The comparison operator to use. * @cmp: The comparison operator to use.
* One of ==, !=, <, >, <=, >=. * One of `==`, `!=`, `<`, `>`, `<=`, `>=`.
* @s2: another string (may be %NULL) * @s2: another string (may be %NULL)
* *
* Debugging macro to compare two strings. If the comparison fails, * Debugging macro to compare two strings. If the comparison fails,
@ -600,7 +600,7 @@
* g_assert_cmpint: * g_assert_cmpint:
* @n1: an integer * @n1: an integer
* @cmp: The comparison operator to use. * @cmp: The comparison operator to use.
* One of ==, !=, <, >, <=, >=. * One of `==`, `!=`, `<`, `>`, `<=`, `>=`.
* @n2: another integer * @n2: another integer
* *
* Debugging macro to compare two integers. * Debugging macro to compare two integers.
@ -617,7 +617,7 @@
* g_assert_cmpuint: * g_assert_cmpuint:
* @n1: an unsigned integer * @n1: an unsigned integer
* @cmp: The comparison operator to use. * @cmp: The comparison operator to use.
* One of ==, !=, <, >, <=, >=. * One of `==`, `!=`, `<`, `>`, `<=`, `>=`.
* @n2: another unsigned integer * @n2: another unsigned integer
* *
* Debugging macro to compare two unsigned integers. * Debugging macro to compare two unsigned integers.
@ -634,7 +634,7 @@
* g_assert_cmphex: * g_assert_cmphex:
* @n1: an unsigned integer * @n1: an unsigned integer
* @cmp: The comparison operator to use. * @cmp: The comparison operator to use.
* One of ==, !=, <, >, <=, >=. * One of `==`, `!=`, `<`, `>`, `<=`, `>=`.
* @n2: another unsigned integer * @n2: another unsigned integer
* *
* Debugging macro to compare to unsigned integers. * Debugging macro to compare to unsigned integers.
@ -649,7 +649,7 @@
* g_assert_cmpfloat: * g_assert_cmpfloat:
* @n1: an floating point number * @n1: an floating point number
* @cmp: The comparison operator to use. * @cmp: The comparison operator to use.
* One of ==, !=, <, >, <=, >=. * One of `==`, `!=`, `<`, `>`, `<=`, `>=`.
* @n2: another floating point number * @n2: another floating point number
* *
* Debugging macro to compare two floating point numbers. * Debugging macro to compare two floating point numbers.