From: Daan De Meyer Date: Mon, 30 Jun 2025 11:52:08 +0000 (+0200) Subject: test-xml: Use ASSERT_OK() instead of ASSERT_GE() X-Git-Tag: v258-rc1~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86e780759d8150503bac2e0387dd712f46103161;p=thirdparty%2Fsystemd.git test-xml: Use ASSERT_OK() instead of ASSERT_GE() Follow up for 7a58b45017c678a2907ece2676372fe6d71e365e --- diff --git a/src/test/test-xml.c b/src/test/test-xml.c index b1e102441a2..1e133e2f5fb 100644 --- a/src/test/test-xml.c +++ b/src/test/test-xml.c @@ -16,7 +16,7 @@ static void test_one(const char *data, ...) { const char *nn; t = xml_tokenize(&data, &name, &state, NULL); - ASSERT_GE(t, 0); + ASSERT_OK(t); tt = va_arg(ap, int); ASSERT_GE(tt, 0);