79699991

Date: 2025-07-13 13:34:03
Score: 2.5
Natty:
Report link

The documentation for g_assert_cmpmem says it is equivalent to g_assert_true (l1 == l2 && memcmp (m1, m2, l1) == 0)

So you might want to use just g_assert_true(l1 == l2)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Leo Lindgren